commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: how to configure java.util.logging in Commons Logging
Date Tue, 06 Apr 2004 17:33:13 GMT
Marcus Beyer wrote:

> Hello Forum,
>
> 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.

JDK logging is configured in $JAVA_HOME/jre/lib/ext/logging.properties

See <http://java.sun.com/j2se/1.4.2/docs/guide/util/logging/index.html> 
for more info.

>
> thanx!
> Marcus

Craig



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message