logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: suggestion
Date Wed, 16 Oct 2002 22:29:40 GMT

I don't think that is correct.

log4j.rootLogger=debug
log4j.rootLogger=DEBUG

are equivalent. BTW, in PropertyConfigurator, the code that parses for 
loggers is the same as the one for the root logger.

Please correct me if I misunderstood your message.

At 00:03 17.10.2002 +0200, Geert Poels wrote:
>hi
>
>I'd like to make to make a small suggestion.
>
>I noticed the rootLogger entry in the configuration file cannot be written 
>in other case
>contrary to the levels
>Like in log4j.rootLogger=debug, A1 equals
>log4j.rootLogger=debug
>but log4j.rootlogger=DEBUG would not work
>
>This is defined as
>         static final String ROOT_LOGGER_PREFIX   = "log4j.rootLogger";
>     in PropertyConfigurator.java
>
>One solution would be to do an toUpperCase() whenever used.
>Another would be to make it lowercase everywhere which is equally
>restrictive as mixed case in one way.
>toUpperCase would be most handy.
>It would be analogous to the levels which are case independant.

--
Ceki

TCP implementations will follow a general principle of robustness: be
conservative in what you do, be liberal in what you accept from
others. -- Jon Postel, RFC 793



--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message