[prev in list] [next in list] [prev in thread] [next in thread] 

List:       logback-dev
Subject:    [logback-dev] [JIRA] Commented: (LBACCESS-23) Access logging does
From:       "Ceki Gulcu (JIRA)" <noreply-jira () qos ! ch>
Date:       2011-01-24 18:29:51
Message-ID: 1379798203.1295893791419.JavaMail.ceki () pixie
[Download RAW message or body]


    [ http://jira.qos.ch/browse/LBACCESS-23?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11939#action_11939 \
] 

Ceki Gulcu commented on LBACCESS-23:
------------------------------------

SyslogAppender is only implemented in logback-classic. There is no SyslogAppender  \
implementation in logback-access. In other words, you cannot use SyslogAppender with \
logback-access.

> Access logging does not work with syslog appender
> -------------------------------------------------
> 
> Key: LBACCESS-23
> URL: http://jira.qos.ch/browse/LBACCESS-23
> Project: logback-access
> Issue Type: Bug
> 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
logback-dev@qos.ch
http://qos.ch/mailman/listinfo/logback-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic