[logback-dev] [JIRA] Created: (LBCLASSIC-284) Make it possible to log to different appenders at different levels from the same logger

Iwein Fuld (JIRA) noreply-jira at qos.ch
Mon Jul 25 16:46:52 CEST 2011


Make it possible to log to different appenders at different levels from the same logger
---------------------------------------------------------------------------------------

                 Key: LBCLASSIC-284
                 URL: http://jira.qos.ch/browse/LBCLASSIC-284
             Project: logback-classic
          Issue Type: Improvement
    Affects Versions: 0.9.28
            Reporter: Iwein Fuld
            Assignee: Logback dev list


I found a requirement in the wild to log trace and above statements to one appender, and debug and above to another. This needed to be configured for a particular package. My preferred solution would be to use something like https://gist.github.com/1104145, but that doesn't work.

There is a workaround of using a filter inside the appender, but that isn't as pretty as I would like. ( http://iweinfuld.posterous.com/ )

-- 
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