commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "matthew.hawthorne" <>
Subject Re: how to configure java.util.logging in Commons Logging
Date Tue, 06 Apr 2004 16:27:13 GMT
Marcus Beyer wrote:
> I am nearly happy with Commons Logging,
> using log4j on the server (JBoss) and
> java.util.logging on the client.
> My problem: the default logger from
> java.util.logging writes everything into
> System.err, even "info" messages.
> I would prefer to habe "info" messages on
> System.out and "error" on System.err.
> Can I somehow configure this in Commons
> Logging? Can this be done easily?
> I didn't find anything about it in the manual.

commons-logging doesn't do much configuration other than allowing you to 
choose which logging implementation to use under the hood.  So, you'd 
have to configure this at the java.util.logging level.

Most of my experience is with log4j, so I'm not sure how to accomplish 
what you want.

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

View raw message