Is it possible to avoid logging ?
I dont want to log into a file or the console . any idea ?
Vikramjit Singh <[EMAIL PROTECTED]>
Sent by: "A mailing list for discussion about Sun Microsystem's Java Servlet API Technology." <[EMAIL PROTECTED]> 08/16/02 02:08 PM
|
To: [EMAIL PROTECTED] cc: Subject: Re: Tomcat Logging |
Yups have tried configuring the Logger. The syntax is verbosity and not verbosityLevel.
Hope it helps. But questions related to Tomcat are best answered in the Tomcat mailing list.
[EMAIL PROTECTED]>
Regards,
Vikramjit Singh,
GTL Ltd.
Ph. 7612929-1059
-----Original Message-----
From: [Jwas J] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 12:20 AM
To: [EMAIL PROTECTED]
Subject: Tomcat Logging
Did any one tried out configuring the <logger>?
<Logger className="org.apache.catalina.logger.FileLogger" verbosityLevel="FATAL"
prefix="localhost_jwas_log." suffix=".txt"
timestamp="true"/>
verbosityLevel="FATAL"
verbosityLevel="FATAL"
verbosity="0"
verbosity="0"
I tried all these option but none is working . Also i looked into the
Code of org.apache.catalina.logger.FileLogger . There I didnt find any code checking for Verbosity.
I want to deploy the application in the production . So the logging should be minimum ( if i can avoid logging ,its fine )
I removed all the <Logger> tag from the server.xml . But in that case all the system.out is coming in the console :-(
Another proble is that i am starting the Apcahe/Tomcat as a NT Service . So there is no console and all the output is coming in the files
specified in the wrapper.properites ....
Can any one help me to solve this ?
Thanks in advance
Jwas