[logback-dev] [Bug 147] ch.qos.logback.classic.net.SyslogAppender fail with NullPointerException

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Thu Apr 17 17:02:19 CEST 2008


http://bugzilla.qos.ch/show_bug.cgi?id=147


noreply.ceki at qos.ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from noreply.ceki at qos.ch  2008-04-17 17:02 -------

Thank you for this report.

The NullPointerException was indirectly caused by the layout option in your
config file. SyslogAppender should not be given a layout but a "SuffixPattern"
as explained in the docs [1].

Revision 1675 (see [2]), corrects this problem by not allowing the user to
directly set a layout. The code also emits a warning with a reference to an
explanation of the problem [3].

Please reopen this report if the problem persists.

[1] http://logback.qos.ch/manual/appenders.html#SyslogAppender
[2] http://svn.qos.ch/viewvc?view=rev&revision=1675
[3] http://logback.qos.ch/codes.html#syslog_layout


-- 
Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the logback-dev mailing list