You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Emily Berk (JIRA)" <ji...@apache.org> on 2019/07/03 18:36:00 UTC

[jira] [Commented] (KARAF-6346) Support FATAL level for log console commands

    [ https://issues.apache.org/jira/browse/KARAF-6346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878071#comment-16878071 ] 

Emily Berk commented on KARAF-6346:
-----------------------------------

[~ffang], there are some other classes that use log levels. Should those have been updated to include FATAL too?
* {{org.apache.karaf.log.command.DisplayLog}}
* {{org.apache.karaf.log.core.internal.layout.PatternParser}}
* {{org.apache.karaf.log.core.internal.osgi.Activator}}
* {{org.apache.karaf.shell.cfg}}
* {{manual/src/main/asciidoc/user-guide/log.adoc}}
* {{org.slf4j.impl.SimpleLogger}}

> Support FATAL level for log console commands
> --------------------------------------------
>
>                 Key: KARAF-6346
>                 URL: https://issues.apache.org/jira/browse/KARAF-6346
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 4.2.6
>            Reporter: Emily Berk
>            Assignee: Freeman Fang
>            Priority: Trivial
>             Fix For: 4.3.0, 4.2.7
>
>
> My project uses log4j2. I would like to be able to execute the command `log:set FATAL <logger>`.
> * https://github.com/apache/karaf/blob/karaf-4.2.6/log/src/main/java/org/apache/karaf/log/command/SetLogLevel.java
> * https://github.com/apache/karaf/blob/karaf-4.2.6/log/src/main/java/org/apache/karaf/log/core/Level.java
> * https://logging.apache.org/log4j/2.x/log4j-api/apidocs/org/apache/logging/log4j/Level.html
> A work-around is manually editing the org.ops4j.pax.logging.cfg or "org.ops4j.pax.logging.log4j2.config.file".



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)