Howdy,
I meant entirely using a 3rd party logging toolkit, such as log4j
(jakarta.apache.org/log4j).  Tomcat provides great logging capabilities
for a web server, but is not a full-featured logging toolkit nor should
it be IMHO.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Madhava Reddy [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, January 21, 2003 3:34 AM
>To: 'Tomcat Users List'
>Subject: RE: How do I get the absolute path of a file in a directory
abov e
>WEB-INF directory of my web application?
>
>Hi Yaov,
>
>All other writing should be done to directories/files declared as
>parameters to your context or servlets.  For example:
><context-param>
>  <param-name>logFile</param-name>
>  <param-value>/tmp/blahblahLogs/blahblahLogFile.txt</param-value>
></context-param>
>
>This way other people using/deploying your app can configure these
>settings to a directory that suits their deployment.
>
>
>I have my own doubts about this. The log files created contains all the
>mapping or web applications, and some log files contain the each
request
>information. Loger contains all the mapping informaion and Valve
contains
>all the request information. What if I do not want to have all these
>information in my log file. I want to have meaningful infomation only.
>Like,
>user -- login time -- log out time -- time of usage -- user type (
>applicaiton dependent ) -- etc etc. I cheked out all the levels for
>logging.
>Most restrictive logging also contain the basic mapping/request
>information.
>
>Given above requirement, is there a way to do it with out creating our
own
>log file, accessing and writing using java ? If there is no way of
doing
>using Tomcat logs, then I need to use my own logs.
>
>Please tell me how to do this?
>
>Thanks
>Madhav

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

Reply via email to