You are not logged in.

#1 2010-03-12 15:09:06

partner55083777
Member
Registered: 2010-02-02
Posts: 10

problems with logging in Tomcat

To get logging working correctly with Tomcat, I had to make this change in /etc/conf.d/tomcat:

CATALINA_OPTS="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/tomcat/conf/logging.properties"

You might also have to change the permissions in /opt/tomcat/logs.

I figured this out by looking at /opt/tomcat/bin/catalina.sh.

I just wanted to post this so it would show up on Google in case anyone else was having the same problem.

Offline

#2 2011-10-03 13:16:51

Wikimig
Developer
From: France
Registered: 2004-12-10
Posts: 77
Website

Re: problems with logging in Tomcat

Hello,

This should be fixed in the latest version of the package by changing owner of the logs dir. Please use a bug report next time as this could be considered as a packaging bug.
You might want to close this thread then? smile

Offline

#3 2011-10-03 13:21:50

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: problems with logging in Tomcat

"Rise my children, Rise I say, and let mortals tremble at the name of the Thread Necromancer!"


I laugh, yet the joke is on me

Offline

#4 2011-10-03 19:05:40

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: problems with logging in Tomcat

Well, by the word of the sad clown, this thread is closed now.


To know or not to know ...
... the questions remain forever.

Offline

Board footer

Powered by FluxBB