Hi all

is there a way to access and manipulate the log4j configuration 
programmatically from Java? For example, I would like to get all 
ConsoleAppenders and modify their ConversionPattern. I am aware that I could 
parse each line in the configuration file, or load the configuration into a 
Java Properties object and inspect each Property, but both these approaches are 
tedious and I wonder if there's a better way.

Thanks!
-- Daniela


__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen 
Massenmails. 
http://mail.yahoo.com 

Reply via email to