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.

-Andy

http://mail-archives.apache.org/mod_mbox/logging-log4cxx-user/200509.mbox/%3Cloom.20050915T064039-998@post.gmane.org%3E

>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.
>
>Thanks

Mime
View raw message