Hi Yoav,
Thanks alot for the information.
Can I have any number of log4j properties files under a single web application ?
If so, where to put these properties files under tomcat ?
Are there any guidelines that I have to follow if there are many lo4j properties under a single web app ?
Any help in this regard will be very useful for me.


TIA,
Naren


Shapira, Yoav wrote:

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:[EMAIL PROTECTED]
Sent: Thursday, June 03, 2004 1:54 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to