In turbine3, seems like Category.getRoot().getAllAppenders() returns
blank Enumeration while log4j is correctly configured actually, so
commons-logging creates a ConsoleAppender for Log objects. How to
prevent this ConsoleAppender being created as early as possible?

I��ve tried starting a service which remove ConsoleAppender and add a
NullAppender which prevent another ConsoleAppender is created when the
service initialized, but it start to work not early enough, and sometime
made Log4j crashed. Another way is created another commons-logging
LogFactory which doesn��t create ConsoleAppender when
Category.getRoot().getAllAppenders() return blank, set this Object with
�CDorg.apache.commons.logging.LogFactory=com.mycomp.myapp.MyLogFactory.
I met another ClassNotFoundException when turbine start this way ?

Any suggestions? Thank you.



Joel


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

Reply via email to