Thanks Craig, since we include log4 in our dependencies, I think we'll go for the assumption that it's there and see if we can add other supported environments (jdk14 should just be properties too) as we go. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/
"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote on 11/08/2003 11:27:51 AM: > On Mon, 11 Aug 2003 [EMAIL PROTECTED] wrote: > > > Date: Mon, 11 Aug 2003 11:12:10 +1000 > > From: [EMAIL PROTECTED] > > Reply-To: Jakarta Commons Users List <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: [logging] How do I change logging levels at run time? > > > > I've got a application (maven) that uses commons logging. > > > > We have a command line switch (-debug) that I'd like to set the logging > > level for everything to 'debug'. > > > > Is this possible with commons-logging, or must we use log4j to do this? > > You'll need to use your underlying logging system's configuration > mechanism for stuff like this. > > If you're using the simple logger that is built in to commons-logging, you > can probably accomplish this by calling System.setProperty() on the > appropriate property names. > > > -- > > dIon Gillard, Multitask Consulting > > Blog: http://blogs.codehaus.org/people/dion/ > > > > Craig > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
