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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.28
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated: