[JIRA] Created: (LBCORE-149) file appender that rolls on startup

file appender that rolls on startup ----------------------------------- Key: LBCORE-149 URL: http://jira.qos.ch/browse/LBCORE-149 Project: logback-core Issue Type: New Feature Components: Appender, Rolling Reporter: Joe Kearney Assignee: Logback dev list I'd like a file appender that can roll to a new file on startup. Example: * file name myApp.%d{yyyy-MM-dd}.%i.log * if the process lasts the whole day, we get only one log file for that day, called myApp.2010-04-15.0.log * if the process is restarted, we get multiple files for that day, myApp.2010-04-15.0.log, myApp.2010-04-15.1.log, ... Currently, I believe that the best we can do with the out-of-the-box appenders/rollers is to either append to or overwrite a single file per day. -- 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

[ http://jira.qos.ch/browse/LBCORE-149?page=com.atlassian.jira.plugin.system.i... ] Ceki Gulcu commented on LBCORE-149: ----------------------------------- This issue strongly resembles a request expressed on stackoverflow: http://stackoverflow.com/questions/2492022/how-to-roll-the-log-file-on-start...
file appender that rolls on startup -----------------------------------
Key: LBCORE-149 URL: http://jira.qos.ch/browse/LBCORE-149 Project: logback-core Issue Type: New Feature Components: Appender, Rolling Reporter: Joe Kearney Assignee: Ceki Gulcu
I'd like a file appender that can roll to a new file on startup. Example: * file name myApp.%d{yyyy-MM-dd}.%i.log * if the process lasts the whole day, we get only one log file for that day, called myApp.2010-04-15.0.log * if the process is restarted, we get multiple files for that day, myApp.2010-04-15.0.log, myApp.2010-04-15.1.log, ... Currently, I believe that the best we can do with the out-of-the-box appenders/rollers is to either append to or overwrite a single file per day.
-- 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

[ http://jira.qos.ch/browse/LBCORE-149?page=com.atlassian.jira.plugin.system.i... ] Joe Kearney commented on LBCORE-149: ------------------------------------ I saw that, but can't get it to work. I'll continue the thread there...
file appender that rolls on startup -----------------------------------
Key: LBCORE-149 URL: http://jira.qos.ch/browse/LBCORE-149 Project: logback-core Issue Type: New Feature Components: Appender, Rolling Reporter: Joe Kearney Assignee: Ceki Gulcu
I'd like a file appender that can roll to a new file on startup. Example: * file name myApp.%d{yyyy-MM-dd}.%i.log * if the process lasts the whole day, we get only one log file for that day, called myApp.2010-04-15.0.log * if the process is restarted, we get multiple files for that day, myApp.2010-04-15.0.log, myApp.2010-04-15.1.log, ... Currently, I believe that the best we can do with the out-of-the-box appenders/rollers is to either append to or overwrite a single file per day.
-- 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 (2)
-
Ceki Gulcu (JIRA)
-
Joe Kearney (JIRA)