On Oct 25, 2007, at 3:28 AM, [EMAIL PROTECTED] wrote:


Hey!

I'm just wondering, log4j knows something called categories to sort the appenders. Allthough I don't really know the difference between having seperate loggers and having seperate categories, I would like to know if log4net knows categories too and , if so, how they can be configured using an xml-style configuration file.
Thanx,
Johannes Frank

I can't speak for log4net and you should ask on a log4net list instead of a log4cxx list. Categories and Loggers are synonymous in log4j. Category and Priority were used in log4j originally and Logger and Level were used in JDK 1.4 logging. Logger and Level were added in log4j to be consistent with JDK 1.4's nomenclature and Category and Priority were deprecated. Basically, a logger or category represents a topic (messages related to a specific class, messages about database interactions, etc) and those topics are then connected to appenders.

Reply via email to