You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2019/04/15 08:44:46 UTC

[karaf] branch master updated: Add OFF to the help description of log:set

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/master by this push:
     new 0dd2354  Add OFF to the help description of log:set
     new 6cebdea  Merge pull request #812 from htreu/log_set_help
0dd2354 is described below

commit 0dd23545a02ef68c1d2f71868df677ffd50b6d35
Author: Henning Treu <he...@instana.com>
AuthorDate: Mon Apr 15 10:38:11 2019 +0200

    Add OFF to the help description of log:set
---
 log/src/main/java/org/apache/karaf/log/command/SetLogLevel.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/log/src/main/java/org/apache/karaf/log/command/SetLogLevel.java b/log/src/main/java/org/apache/karaf/log/command/SetLogLevel.java
index 3d7393a..34326a6 100644
--- a/log/src/main/java/org/apache/karaf/log/command/SetLogLevel.java
+++ b/log/src/main/java/org/apache/karaf/log/command/SetLogLevel.java
@@ -33,7 +33,7 @@ import org.apache.karaf.shell.support.completers.StringsCompleter;
 @Service
 public class SetLogLevel implements Action {
     
-    @Argument(index = 0, name = "level", description = "The log level to set (TRACE, DEBUG, INFO, WARN, ERROR) or DEFAULT to unset", required = true, multiValued = false)
+    @Argument(index = 0, name = "level", description = "The log level to set (OFF, TRACE, DEBUG, INFO, WARN, ERROR) or DEFAULT to unset", required = true, multiValued = false)
     @Completion(value = StringsCompleter.class, values = { "OFF", "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "DEFAULT" })
     String level;