[slf4j-user] What about NDC in slf4j ?

Boris Unckel boris.unckel.mlg at gmx.net
Tue Feb 14 17:41:38 CET 2006


Hello Frank,

> I am currently evaluating the oportunity to switch from log4j to slf4j
> in my app.
> 
> I can find no mention of NDC in slf4j. How is this kind of
> functionnality supposed to be handled in slf4j ?
> 
You will not find the NDC in slf4j. slf4j is a facade for other logging
implementations.
You have three options:
1) Stay at log4j (Why change from one of the best logging APIs in an
application to an facade/wrapper ?)
2) Migrate to nlog4j with usage of sl4fj and the nlog4j NDC
3) Migrate to slf4j and have no NDC

Regards
Boris



More information about the slf4j-user mailing list