Is it possible to use "Conversion Pattern" in the file name of the
RollingFileAppender? For example, I want the logfile name like:
hostname.appname.log. So if the same application runs at different
machine, it will have different logfile.

How can I setup this in config file?

I tried following:
<param name="File" value="C:\\Logfiles\\%property{log4net:HostName}.Test.log" />

It didn't work. Internal debug says:"The given path's format is not supported.".

I am using version 1.2.10.

Thanks.

Reply via email to