log4j configuration within webMethods

Hi, need a quick help

Here is my log4j file appender configuration


I would like to create log file with webMethods server name where log4j resides.

Something like this: log4j.appender.R1.File=E:/$(server name)/logs/application.log. without hard coding

What variable should I use for this purpose?

Thanks in advance

not sure if log4j will pick it up properly, but IntegrationServer/ is the root by default in IS, so you can use:

Pls let us know if it works.