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

Setumadhav Kulkarni sekulkar at tibco.com
Tue Feb 20 08:53:22 CET 2007


Thanks Boris,
I will keep this mind.
Thanks and Regards,
Setu
-----------------------------------
setu at tibco.com
off: +91.20.30212111
mob: +91.9960692038


-----Original Message-----
From: user-bounces at slf4j.org <user-bounces at slf4j.org>
To: User list for the slf4j project <user at slf4j.org>
Sent: Mon Feb 19 23:51:38 2007
Subject: Re: [slf4j-user] HELP:Programatically setting the log levels?

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/20070219/495bd699/attachment.htm>


More information about the slf4j-user mailing list