[logback-dev] [JIRA] Commented: (LBACCESS-12) Please add IAccessEvent (and AccessEventVO) similar to the LoggingEvent counterparts

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Sun Mar 27 23:32:54 CEST 2011


    [ http://jira.qos.ch/browse/LBACCESS-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11997#action_11997 ] 

Ceki Gulcu commented on LBACCESS-12:
------------------------------------

Hi Joern,

Is the proper solution to the above problem to introduce IAccessEvent so that logback-access classes are parameterized with IAccessEvent instead of  AccessEvent? For  example, 

  public class SMTPAppender extends SMTPAppenderBase<AccessEvent>
would be modified to:
  public class SMTPAppender extends SMTPAppenderBase<IAccessEvent>

Would you want to make this change in github so that I could later merge it?

> Please add IAccessEvent (and AccessEventVO) similar to the LoggingEvent counterparts
> ------------------------------------------------------------------------------------
>
>                 Key: LBACCESS-12
>                 URL: http://jira.qos.ch/browse/LBACCESS-12
>             Project: logback-access
>          Issue Type: Improvement
>    Affects Versions: 0.9.20
>            Reporter: Joern Huxhorn
>            Assignee: Logback dev list
>
> I'm currently implementing "cat" functionality for Lilith data files, i.e. events stored in Lilith data files can be printed using ch.qos.logback.classic.PatternLayout and ch.qos.logback.access.PatternLayout.
> This works for LoggingEvent since I could implement a iLoggingEvent wrapper for my own LoggingEvent.
> It does not work for AccessEvent, though, because there is no IAccessEvent interface and I can't instantiate AccessEvent and set the properties manually.
> ch.qos.logback.access.PatternLayout is currently working on an AccessEvent and I'd like to use it's functionality.

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