[slf4j-dev] [Bug 133] Add ability to log at a dynamic level

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Wed Jun 10 18:21:03 CEST 2009


http://bugzilla.slf4j.org/show_bug.cgi?id=133


Zoltan Szel <zoli.szel at morganstanley.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zoli.szel at morganstanley.com




--- Comment #3 from Zoltan Szel <zoli.szel at morganstanley.com>  2009-06-10 18:21:02 ---
Hi Ceki,

>I could imagine how this could be useful in a logging product, but in an application?

i have asked for this feature so let me share my view. This feature is not
particulary usefull from an application point of view but it is more important
from a library point of view. 

For example you are writing an authorization library which contains audit
logging. What the level of those log statements should be? We can default to
Info but there will be users who just don't care about that information so they
want them at debug. Dynamic logging is very handy there.

Also we have an inhous product where you can manipulate an incomming xml
message in flows and send the result back. We are adding tracing functionality
where you can follow what happens inside your app. In this functionality the
library developer has to decide the level which should be the choice of the end
user.

We have another use case in our xml library what i can not form top of my head,
but if it makes a difference i will make the effort to dig it out ;-)

Regards,
Zoltan


-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the slf4j-dev mailing list