[ https://issues.apache.org/jira/browse/SLING-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed SLING-1060. ------------------------------------ Resolution: Fixed Implmented this support in Rev. 797030. If a logger configuration refers to a log file for which no configuration exists, an implict log writers is created. if a configuration is later created for the log file, the implicit writer is reconfigured according to the configuration. If a logger configuration is deleted which refers to an implicit log writer, the implicit log writers is closed unless it is still referred to. > Support implicit Log Wrtiter configuration > ------------------------------------------ > > Key: SLING-1060 > URL: https://issues.apache.org/jira/browse/SLING-1060 > Project: Sling > Issue Type: Improvement > Components: Commons Log > Affects Versions: Commons Log 2.0.4 > Reporter: Felix Meschberger > Assignee: Felix Meschberger > Fix For: Commons Log 2.0.6 > > > Currently trying to redirect part of the log messages consists of creating > two logging configurations: > * The Logger Configuration defining which loggers are written at which > level to a certain log writer > * The Logger Writer defining the log output setup like rotation etc. > To simplify the setup, the logger configuration should be supported by > implicit configuration: If a Logger Configuration refers to a log writer (by > its log file name) for which no Logger Writer configuration exists a default > setup is assumed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.