Hello, I'm a new guy so go easy on me...
I'm working on a Websphere/RAD 6.0
J2EE application and trying to get my log files to include either a timestamp or milli-sec data within the name of the log file. I currently have it set up to include the date in the log file name only. I'm using the following info in my logging.xml file (config file used by the app):
<appender name="DAN_APPLICATION" class="org.apache.log4j.RollingFileAppender">
<param name="MaxFileSize" value="5000000" />
<param name="MaxBackupIndex" value="4" />
<param name="File" value="logs/dan.log" />
<param name="Append" value="false" />
<layout class="org.apache.log4j.TTCCLayout">
<param name="DateFormat" value="ISO8601" />
</layout>
</appender>
This gives me a log file name of "dan02242006.log".
What I want to see is "dan02242006103100"...or something like that...basically I want to see the date and time in the log file name.
I tried replacing the parm value above from "ISO8601" to "ABSOLUTE"....but that didn't work.
I'm sure there is a very easy solution to my problem.......any suggestions would be most welcome.
Thanks!
Dan :roll: