[JIRA] Created: (LBCORE-191) When rolled file directory is not defined always by deafult use same directory for rolled file as for log file being rolled

When rolled file directory is not defined always by deafult use same directory for rolled file as for log file being rolled --------------------------------------------------------------------------------------------------------------------------- Key: LBCORE-191 URL: http://jira.qos.ch/browse/LBCORE-191 Project: logback-core Issue Type: Improvement Components: Rolling Affects Versions: 0.9.27 Reporter: Stevo Slavic Assignee: Logback dev list Priority: Minor E.g. if FileNamePattern of ch.qos.logback.core.rolling.TimeBasedRollingPolicy is configured to "webapp.%d{yyyy-MM-dd}.log.zip" and File of ch.qos.logback.core.rolling.RollingFileAppender is configured to "/var/log/tomcat6/webapp.log", then rolled file should be created in /var/log/tomcat6 directory and not in current working directory. This is to keep config DRY in cases when log and it's rolled fragments should be stored in same directory. This behavior is consistent with case when both File and FileNamePattern don't define directory, just extends this behavior to the case when File has directory defined, and FileNamePattern doesn't. Related logback-users mailing list discussion reference: http://markmail.org/message/k6ezjx5lqitwvoy4 -- 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
participants (1)
-
Stevo Slavic (JIRA)