tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MrVJTod <>
Subject gc log filename variables in windows
Date Mon, 08 Oct 2012 15:17:33 GMT
In linux/solaris, I can specify
And get a logfile named as such
with the last time of startup as past of the log filename

But if I try to do something similar in Windows
I get a logfile named
with the variable text as past of the log filename

Does tomcat on Windows not support variables in the GC filename?
I've tried a dozen different combinations
  $DATE  //    ${%DATE%}  //  $[%DATE%]  //  $(%DATE%)
  ${DATE}  //  $[DATE]  //  $(DATE)  //  $DATE  //  %DATE  //  %NOW%
  `%DATE%`  //  '%DATE%'  //  `cmd /c now /t`  //  'cmd /c now /t'
  %Y  //  %YYYY
and several other iterations
but the logfilename contains the variable that I was hoping would be
replaced with a timestamp.

and I can't seem to find a solid reference for Windows GC log filenames.

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message