logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ambarish Mitra" <ambarish_mi...@persistent.co.in>
Subject Can I have time stamp in log file name?
Date Mon, 21 Feb 2005 13:07:49 GMT
Hi,

Can I have time stamp in log file name?

To elaborate, if my entries in the property files are:
...
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=../logs/example.log
..

Now, I want that instead of log file name: example.log, I want the name as
example.log.<time> of creation, is there any way to accomplish this?

-Ambarish.



Mime
View raw message