[logback-dev] [JIRA] Commented: (LBCLASSIC-175) ILoggingEvent prepareForDeferredProcessing does not include callerDataArray

Konstantin Alexandrov (JIRA) noreply-jira at qos.ch
Sat Jan 2 16:30:33 CET 2010


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

Konstantin Alexandrov commented on LBCLASSIC-175:
-------------------------------------------------

Expensive is parse of caller data, " new Throwable()" is cheap, just need to store Throwable object in prepare

> ILoggingEvent prepareForDeferredProcessing does not include callerDataArray
> ---------------------------------------------------------------------------
>
>                 Key: LBCLASSIC-175
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-175
>             Project: logback-classic
>          Issue Type: Bug
>          Components: layout
>            Reporter: Konstantin Alexandrov
>            Assignee: Logback dev list
>
> I've implement asynchronous file appender, and enqueue events, but %caller pattern can not be used in the case of
> deferred processing becouse caller information is losed. My suggestion is to create Throwable object in prepareForDeferredProcessing 

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