gc log filename variables in windows

2012-10-08 Thread MrVJTod
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\sourcecode-gc-${NOW}.log

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:

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

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: