[logback-dev] [JIRA] Commented: (LBCLASSIC-58) Print Logback own erros to System.out if debug is enabled?

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Sat Aug 9 18:45:26 CEST 2008

    [ http://jira.qos.ch/browse/LBCLASSIC-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10639#action_10639 ] 

Ceki Gulcu commented on LBCLASSIC-58:

After spending a bit more time on this, I think that automatically
printing internal status information in case of errors might not not
be such a great idea. First, there would be no easy way to turn this
feature off. Second, if the status data is printed automatically and
there is noone to read it, then we are just printing noise. The
current situation where you actively need to seek status information
might not be so bad after all.

Here is a procedure covering possible cases:

1) ill formed xml 
  -> print internal status consisting of a single status message

2) exception thrown during configuration
  -> catch so that configuration can proceed to the end

3) print status data only if asked to with "<configuration
debug='true'>". If item 2 is implemented correctly, then status data
will always be printed

4) improved documentation, in particular by mentioning the
StatusPrinter.print(lc) method

> Print Logback own erros to System.out if debug is enabled?
> ----------------------------------------------------------
>                 Key: LBCLASSIC-58
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-58
>             Project: logback-classic
>          Issue Type: Improvement
>            Reporter: Anton Tagunov
>            Assignee: Logback dev list
>            Priority: Minor
> Hello Ceki, when debug is enabled lots of messages to to System.out anyway.
> Do you think it would be a good idea to also print messages going to StatusManager to System.out?
> Apparently there is huge demand for this feature.

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