Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-625

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

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 0.9.28
    • None
    • None

    Description

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

      Attachments

        Activity

          People

            logback-dev Logback dev list
            iwein Iwein Fuld
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: