Issue Type: Improvement Improvement
Assignee: Logback dev list
Components: logback-core
Created: 07/Sep/15 4:00 PM
Description:

I recently had a problem where a non-trivial error was logged to the StatusManager, but no StatusListener was defined.

StaticLoggerBinder does have a:

      if(!StatusUtil.contextHasStatusListener(defaultLoggerContext)) {
        StatusPrinter.printInCaseOfErrorsOrWarnings(defaultLoggerContext);
      }

but this didn't help because the warning occurred after this point.

I think it would be useful to log a warning when no StatusListener is registered. Users who really really don't want a StatusListener could register a 'NoopStatusListener' or something similar.

Project: logback
Priority: Minor Minor
Reporter: Arnout Engelen
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira