Hi Barvaz,

 

have a look in this old post:

 

http://www.mail-archive.com/log4net-user@logging.apache.org/msg03984.html

 

Regards,

Wolfgang

 

 

From: Barvaz Barvaz [mailto:barvaz.metu...@gmail.com] 
Sent: Dienstag, 26. Januar 2010 14:01
To: log4net-user@logging.apache.org
Subject: is it possible to name a file using current process id using a File
Appender?

 

Hi,

I'd like to configure a file appender, naming the file with the current
process ID (windows environment).
For instance, if the current process' ID is 1234, I'd like the log file to
have the name mylog1234.txt.
I know it can be done programmatically (by code), but I wonder, is it
achievable through configuration file?

Thanks!

Reply via email to