logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remko Popma <remko.po...@gmail.com>
Subject FileAppender dynamic fileName
Date Mon, 28 Nov 2016 06:10:21 GMT
Does the FileAppender support lookups in the configured file name?

Something like 
<File name="F" fileName="${sys:procName:unknown}">
...

Does a JIRA ticket already exist for this? (Couldn't find it...)

I have a number of processes that are configured almost identically; with the log4j2.xml inside
one of the jars. Trying to let the different processes log to separate files. Not as easy
as I thought it would be. :-)

Remko

Sent from my iPhone
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message