You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paulo Cheque <pa...@gmail.com> on 2006/09/20 17:45:57 UTC

Log Independent

Is possible to configure a log system that log only my messages, i.e,
without Tomcat messages?

For example:

- I don't want this in my log:

"20/09/2006 12:40:35 my.application myMethod
INFO: My Message"

- I don't want this in my log:
"20/09/2006 12:40:35 org.apache.catalina.startup.Catalina start
INFO: Server startup in 8813 ms"

Thanks in advance
Paulo

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Log Independent

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: "Paulo Cheque" <pa...@gmail.com>
> Subject: Log Independent
> 
> Is possible to configure a log system that log only my 
> messages, i.e, without Tomcat messages?

Have you read the doc and the logging entry in the FAQ?

http://tomcat.apache.org/tomcat-5.5-doc/logging.html
http://tomcat.apache.org/faq/logging.html

You can configure your application logs entirely independently of the
Tomcat logs.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Log Independent

Posted by Martin Gainty <mg...@hotmail.com>.
%TOMCAT_HOME%/conf/logging.properties
############################################################
# Provides extra control for each logger.
############################################################
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = <SEVERE|INFO>

change from 'INFO' to 'SEVERE'

M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "Paulo Cheque" <pa...@gmail.com>
To: <us...@tomcat.apache.org>
Sent: Wednesday, September 20, 2006 11:45 AM
Subject: Log Independent


> Is possible to configure a log system that log only my messages, i.e,
> without Tomcat messages?
> 
> For example:
> 
> - I don't want this in my log:
> 
> "20/09/2006 12:40:35 my.application myMethod
> INFO: My Message"
> 
> - I don't want this in my log:
> "20/09/2006 12:40:35 org.apache.catalina.startup.Catalina start
> INFO: Server startup in 8813 ms"
> 
> Thanks in advance
> Paulo
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
>