logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "log4cxx" <log4...@gallandfamily.com>
Subject Re: Configuring FileAppender target file path programmatically after Property Configuration
Date Wed, 20 May 2009 11:53:47 GMT
Hi Assaf,

We have been using this solution posted by Micha for a long time now. It works very well for
us, in both Windows and various Unix systems.



>Hi all,
>Is it possible to configure log4cxx using a property configurator file, but then override
the destination path of one of 
>the FileAppenders in code?

>I ask because I have many instances of the same process running and each has to log to
a different (dynamically 
>determined) file location, but I still want to control the pattern, level, etc. from one
configuration file.

View raw message