log4r and log4j root logger differing behavior

C

Christophe Broult

Hi All,

I am wondering if anyone who has used log4r and log4j has noticed
their root logger differing behaviors.

As stated in the log4r documentation:

RootLogger Does Nothing

RootLogger itself behaves as if its level were permanently set=20
to OFF, thus making it a sort of null object.=20

When using log4j that is not the case and it is quite useful to
leverage the logger inheritance from the root logger where, for
example, one can specify the default Outputters on the root logger
and then adjust the logging level on the children.

Does anyone have a suggestion to get a behavior similar to log4j root
logger?

Christophe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top