[slf4j-user] HELP:Programatically setting the log levels?

Boris Unckel boris.unckel.mlg at gmx.net
Tue Feb 20 08:51:38 CET 2007


Hello Setu,

Setumadhav Kulkarni wrote:
>
> Thanks Boris,
> I shall use the underlying log4j impl.
>
in my personal opinion configuring loggers programatically is bad 
practise and maybe
the usecase has to be reviewed.

If you really want to use SLF4J but you are configuring by code, you do 
not need SLF4J
because you have no chance to switch from log4j as underlying API if you 
have code
which configures log4j.
One thing: Maybe you have an old version of log4j (most people still 
have 1.2.8 downloads which
is the most spread version).
There is a version 1.2.14, which contains a lot of bugfixes:
http://logging.apache.org/log4j/docs/download.html

Regards
Boris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/slf4j-user/attachments/20070220/7c4530bb/attachment.htm>


More information about the slf4j-user mailing list