Change Scarab log file name when tomcat start and stop in windows

FRED.YY.LIN 林宥延 <[email protected]> Fri, 12 Feb 2010 14:28:27 +0800
Newsgroups gmane.comp.java.scarab.user
Message-ID <[email protected]>
Dear All,

I would like to modify
Log4j.properties line 29

log4j.appender.scarab.file =3D ${applicationRoot}/logs/scarab.log

to make the log file change file name when tomcat restart in the windows pl=
atform using the tomcat monitor dialogue.


What will be the variable to get the system time for property file use ?

Just like change it to=20

log4j.appender.scarab.file =3D ${applicationRoot}/logs/scarab-${XXXX}.log

What can XXXX be to get the system time ?  DATE, TIME, SYSTEM_TIME ?

Regards,

Fred

***************************************************************************=
**********************************************
This email message, including any attachments, is for the sole use of the i=
ntended recipient(s) and may contain confidential and privileged informatio=
n. Any unauthorized review, use, disclosure or distribution is prohibited. =
If you are not the intended recipient, please contact the sender by reply e=
-mail and destroy all copies of the original message. [Delta Electronic, IN=
C. Taiwan]
***************************************************************************=
**********************************************

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3D456&dsMessageId=3D24=
47000

To unsubscribe from this discussion, e-mail: [[email protected]=
is.org].