#39 log file naming

open
nobody
None
5
2010-06-11
2010-06-11
Tommaso Massimi
No

this patch allows lo4cpp to have a dinamically generated log file name.

Example:

log4cpp.appender.A3=RollingFileAppender
log4cpp.appender.A3.fileName=my-task-%d%p.log
log4cpp.appender.A3.maxFileSize=80
log4cpp.appender.A3.maxBackupIndex=1

available keywords:
%d = YYMMDD
%t = HHMMSS
%p = pid

It's not a real diff as I'm unable to access to the log4cpp's cvs

Discussion

  •  
    Attachments