[logback-dev] [JIRA] Commented: (LBCLASSIC-225) Please add system property to enable debugging of config loading

Aaron Digulla (JIRA) noreply-jira at qos.ch
Mon Oct 18 16:37:51 CEST 2010

    [ http://jira.qos.ch/browse/LBCLASSIC-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11860#action_11860 ] 

Aaron Digulla commented on LBCLASSIC-225:

Patch: Replace

boolean debugMode = false;

in ch.qos.logback.classic.joran.action.ConfigurationAction with

boolean debugMode = Boolean.getBoolean("logback.debug");

> Please add system property to enable debugging of config loading
> ----------------------------------------------------------------
>                 Key: LBCLASSIC-225
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-225
>             Project: logback-classic
>          Issue Type: New Feature
>          Components: joran
>    Affects Versions: 0.9.26
>            Reporter: Aaron Digulla
>            Assignee: Logback dev list
> This has bugged me several times already: There is no way to set ConfigurationAction.debugMode from a system property.
> Use cases:
> - Enable debugging for a quick check without modifying sources (= no accidental commit)
> - Enable debugging to figure out which logback config is loaded in production (for example if one crept into a JAR file).

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the logback-dev mailing list