Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use variable in config.xml?

 
tommaso rizzi
Greenhorn
Posts: 1
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
for monitoring requirement, we need to log the Garbage Collector and the log file should be always with different name

in the past, with WL 6.1, adding in the config.xml the option like
Xloggc:/FS01/logiciel/preprod/ariba/test/Downstream/Server/logs/gc-buyerserver1.$$.log

it worked fine, replacing $$ with the process ID and then the file name was for example gc-buyerserver1.7345.log

at the moment, with WL 10, it doesn't replace the $$ with the process ID, but it creates all the time the file with the same file name gc-buyerserver1.$$.log


so, the question is: how can we use variables in the config.xml, with WL 10?


many thanks
Tommaso
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic