commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Beyer ...@stormlight.de>
Subject Re: how to configure java.util.logging in Commons Logging
Date Wed, 07 Apr 2004 10:24:29 GMT
Craig R. McClanahan wrote:

> 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.

Thank you.

It seems, that the given Handlers can't be configured that way :(

thanx!
Marcus


---------------------------------------------------------------------
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