[logback-dev] [JIRA] Commented: (LBCLASSIC-116) SyslogAppender should support RFC 5424

Ralph Goers (JIRA) noreply-jira at qos.ch
Fri Aug 28 09:11:37 CEST 2009

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

Ralph Goers commented on LBCLASSIC-116:

Hopefully I did this git stuff right. I created a fork at git at github.com:rgoers/logback.git and put the syslog work under a branch named Syslog. The changes are a bit more than I anticipated since I needed to be able to pass more options to the syslog converter. In order to make use of the structured data defined as part of RFC 5424 I also added support for incorporating the SLF4J EventData. 

There is a bit more work to do as it isn't completely spec compliant. The RFC says that structured parameter names are limited to 32 characters and that certain characters in the value should be escaped. I haven't dealt with either of those yet. Also, no attempt is being made to enforce the rules regarding structured data ids.

Also, I refactored the MDCConverter to extend a MapConverter which is shared with the StructuredDataConverter. 

> SyslogAppender should support RFC 5424
> --------------------------------------
>                 Key: LBCLASSIC-116
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-116
>             Project: logback-classic
>          Issue Type: Improvement
>          Components: appender
>    Affects Versions: 0.9.16
>         Environment: All
>            Reporter: Ralph Goers
>            Assignee: Logback dev list
> The SyslogAppender supports RFC 3164. RFC 5424 has been released with obsoletes RFC 3164. See http://www.ietf.org/rfc/rfc5424.txt. At the very least the format of the timestamp has been changed. Either the SyslogAppender should be enhanced to comply with RFC 5424 or a new SyslogAppender should be created which does.

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