Hi!

I am co-working on a large project. We are in a transition from using
Category to Logger. During this transition, we will have uses of both
Category and Logger.

I want the configuration property file to configure both. Shall I configure
like this

  # Attach appender A1 to root. Set root priority to Prority.DEBUG.
  log4j.rootCategory=DEBUG, stdout, A1
  ...
  (in which case I think instances of the base class Category gets
configured, and therefore also instances of its subclass Logger)

or like this

  # Attach appender A1 to root. Set root priority to Prority.DEBUG.
  log4j.rootLogger=INFO, stdout, A1
  ...
  (in which case I think only instances of the subclass Logger gets
configured, but not instances its superclass Category)

???

Kindest regards

Niels K. Henriksen


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to