
8 Jun
2012
8 Jun
'12
6:12 p.m.
Hello, I'm trying to configure a naming scheme that would result in longs in the format of %d{yyyy-MM-dd-HHmm}.%i.log, however the time should indicate log creation time, not current time. New log is created in 2 situations: on application launch <rolloverOnStart>true</rolloverOnStart> or <maxFileSize>1MB</maxFileSize>. However, because of the naming format, the log gets put in a different location every minute. Is there a way to only set the log name on creation and then write to it until next rollover? Thank you