Re: gc log filename variables in windows

2012-10-08 Thread MrVJTod
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-t

Re: gc log filename variables in windows

2012-10-08 Thread MrVJTod
windows command line isn't good at short code, but I've used this to rename window log files on occasion the first section parses the MMDD out of %DATE% and the second section removes the colon/period/spaces out of %TIME% and then trims the resulting string to just the first 4 characters HHMM.

Re: gc log filename variables in windows

2012-10-08 Thread MrVJTod
I understand. NOW, in my linux environment is set via a shell script in the tomcat settings file as part of startup. NOW=`date +"%m%d-%H%M"` I wasn't thinking of the startup script like that. I'll be moving on. Thanks. -- View this message in context: http://tomcat.10.n6.nabble.com/gc-log-fi

Re: gc log filename variables in windows

2012-10-08 Thread Christopher Schultz
-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 o

Re: gc log filename variables in windows

2012-10-08 Thread André Warnier
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 -Xloggc:c:\my\logs\sourcec