tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Logging framework
Date Fri, 08 Dec 2017 07:26:47 GMT
2017-12-08 9:58 GMT+03:00 mirunalini Chandrasekaran <miru3801@gmail.com>:
> Hi All,
>
> I am using Tomcat 7.0.81 on centos 7.3 and using openjdk 1.7.0.141. Tomcat
> was downloaded from http://tomcat.apache.org/
>
> The problem I am seeing recently is manager*.log and localhost*.log files
> are not created. Instead, I see the messages that were to be written into
> manager.log are going into Catalina.out. catalina.out and
> localhost_access.log continue to work like before. May I know how and from
> where to start debugging this?
> I have verified logging.properties, there is no issue with it.

How do you start Tomcat?

Overall, Tomcat uses the standard java.uti.logging API to perform its
logging. The java.util.logging is configured via the following two
system properties:

-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties

These two properties are set by catalina.sh wrapper script when it
launches java process for Tomcat
If those properties are missing, the default configuration of
java.util.logging is to log everything to a
java.util.logging.ConsoleHandler.

The stdout and stderr of the java process are redirected to
"catalina.out" file by catalina.sh script. It is not a proper log
file.

Best regards,
Konstantin Kolinko

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


Mime
View raw message