for Windows GC log filenames.
--
View this message in context:
http://tomcat.10.n6.nabble.com/gc-log-filename-variables-in-windows-tp4987672.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e
MrVJTod wrote:
In linux/solaris, I can specify
-Xloggc:/my/logs/sourcecode-gc-${NOW}.log
And get a logfile named as such
/my/logs/sourcecode-gc-1008-0938.log
with the last time of startup as past of the log filename
But if I try to do something similar in Windows
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
On 10/8/12 11:17 AM, MrVJTod wrote:
In linux/solaris, I can specify
-Xloggc:/my/logs/sourcecode-gc-${NOW}.log And get a logfile named
as such /my/logs/sourcecode-gc-1008-0938.log with the last time of
startup as past of
-filename-variables-in-windows-tp4987672p4987677.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h
%.%RIGHTNOW%
REM ## END SCRIPT FILE
which would result something like this
20121008.1506
which could be used in a batch to rename files with a timestamp
rename file.txt file.%timestamp%.txt
--
View this message in context:
http://tomcat.10.n6.nabble.com/gc-log-filename-variables-in-windows
and I'm not going to convert my few remaining windows JVMs to use batch files
instead of running as a service.
this is just extra motivation to get these last windows JVMs converted to
*nix.
--
View this message in context:
http://tomcat.10.n6.nabble.com/gc-log-filename-variables-in-windows
MrVJTod wrote:
and I'm not going to convert my few remaining windows JVMs to use batch files
instead of running as a service.
this is just extra motivation to get these last windows JVMs converted to
*nix.
I basically agree, and this is thus just a bit of intellectual musing :
In the