[logback-dev] [JIRA] Commented: (LBCORE-90) RollingFileAppender calls triggeringPolicy.isTriggeringEvent(activeFile, event) with the same activeFile
Valery Shorin (JIRA)
noreply-jira at qos.ch
Fri Feb 27 20:16:49 CET 2009
[ http://jira.qos.ch/browse/LBCORE-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11061#action_11061 ]
Valery Shorin commented on LBCORE-90:
-------------------------------------
I'm trying to create custom triggering policy, active file name in this policy changed every rollover event, one condition of rollover based on active file size. I tried to use activeFile passed to isTriggeringEvent(...) method, but it's always the same.
> RollingFileAppender calls triggeringPolicy.isTriggeringEvent(activeFile, event) with the same activeFile
> --------------------------------------------------------------------------------------------------------
>
> Key: LBCORE-90
> URL: http://jira.qos.ch/browse/LBCORE-90
> Project: logback-core
> Issue Type: Bug
> Components: Appender
> Affects Versions: 0.9.14
> Reporter: Valery Shorin
> Assignee: Ceki Gulcu
>
> In subAppend(...) method RollingFileAppender calls triggeringPolicy.isTriggeringEvent(activeFile, event) method with activeFileCache variable as first parameter, but activeFileCache variable initialized in start() method of RollingFileAppender and not changed anymore.
--
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