logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: What is the significance of rootCategory in property file.
Date Thu, 03 Jun 2004 12:59:15 GMT

Hi,
The root category is not required in configuration files.  It is
implicitly created for you whether you specify details for it or not.
Most people specify it in order to set the basic level of logging for
their system such that 3rd party libraries using log4j aren't logging at
too verbose a level.

I can't help much with India-specific book purchase questions, besides
the obvious avenues I'm sure you're already explored, such as Amazon and
eBay, that ship internationally.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Narendra Babu Kirthi [mailto:nkirthi@cisco.com]
>Sent: Thursday, June 03, 2004 1:54 AM
>To: log4j-user@logging.apache.org
>Cc: Narendra Babu Kirthi
>Subject: What is the significance of rootCategory in property file.
>
>Hi,
>    Can some one explain me what is the significance of rootCategory,
>that is specified in the log4j.properties file ?
>    Is it a must to have rootCategory in the properties file ?
>    I have a web application under tomcat. This web application is
>integrated from different modules (my project specific)
>    and each module has its own log4j property(with different names)
>file. Say it has got some 8 modules and got 8 log4j properties files.
>    Each module has got an entry of rootCategory in their own log4j
>property file. With this configuration, my web application is
>    behaving strangely at times. i.e one module's log messages are
>logged into some other module's log file.
>    Can I have any number of log4j properties files under a single web
>application ? If so what is the location under tomcat where I can
>    put all these property files. I tried to buy the Log4j manual by
>Ceiki, but could not find a store in Chennai (INDIA), where I can get
>    that book. Can some one point me to the location in India, where I
>can get this book.
>
>Thanks
>Naren
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-user-help@logging.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message