
[ http://jira.qos.ch/browse/LBCORE-90?page=com.atlassian.jira.plugin.system.is... ] 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