commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: hardcoding log factory
Date Sun, 28 Sep 2003 19:28:32 GMT
Henrik Vendelbo wrote:

>Is there a way of hardcoding the choice of logging factory, so that log4j
>will always be used or nothing at all ?
On a JDK below 1.4, the default behavior is to choose Log4J if it is 
present, or SimpleLog otherwise.  On a JDK >= 1.4, Log4J is still 
selected first if it is present, else JDK 1.4 logging is used.

If you want to change this, you'll either need to configure according to 
the documentation (such as supplying your own LogFactory implementation 
that behaves the way you want) or modify LogFactory itself.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message