I meet such a condition when configure log4j using an extended  
PropertyConfigurator.
There are more than two dozens of Appenders use one same layout.
What I did is just copy and pasted them. However, evertime I make  
some changes to the layout, I need to copy and past again.

Can we configure layout in the similar way as for appenders ? We may  
define  a layout first and let appenders to make reference to that  
layout, just like we define an appender first and let categories to  
reference it.
It seems need to change the current log4j source.

Or any work around for the condition I meet?

Any responses are appreciated.

Jin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to