log4j configuration within webMethods

Hi, need a quick help

Here is my log4j file appender configuration

log4j.appender.R1.File=E:/webMethods65/IntegrationServer/logs/application.log

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:
=logs/application.log

Pls let us know if it works.