[ 
http://jira.qos.ch/browse/LBACCESS-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ceki Gulcu updated LBACCESS-23:
-------------------------------

    Issue Type: New Feature  (was: Bug)

> Access logging does not work with syslog appender
> -------------------------------------------------
>
>                 Key: LBACCESS-23
>                 URL: http://jira.qos.ch/browse/LBACCESS-23
>             Project: logback-access
>          Issue Type: New Feature
>            Reporter: Stein Inge Morisbak
>            Assignee: Logback dev list
>
> The ch.qos.logback.access.spi.AccessEvent does not implement 
> ch.qos.logback.classic.spi.ILoggingEvent, so if you try to log access log to 
> syslog you get a ClassCastException during the append(E eventObject) of class 
> SyslogAppenderBase which SyslogAppender inherits from. The actual 
> ClassCastException happens when calling Converter.write(buf, event) in the 
> writeLoopOnConverters(E event) method of class PatternLayoutBase<E> which 
> uses the convert(ILoggingEvent event) method of the SyslogStartConverter 
> which you can see expects an ILoggingEvent.

-- 
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

        
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to