Date: Wed, 29 Dec 2010 13:15:25 +0100 From: =?iso-8859-1?Q?Robert_Gr=FCndler?= <robert@dubture.com> To: freebsd-questions@freebsd.org Subject: Tomcat 6 log level Message-ID: <44930C57-0114-48AC-BFC7-17C33FEC3B98@dubture.com>
index | next in thread | raw e-mail
Hi, we've installed tomcat 6 via freebsd ports and would like to change the log level on our production server from INFO to SEVERE. However, the tomcat6 startup script in /usr/local/etc/rc.d did not load the logging.properties file of tomcat, so we've added a flag to the java_opts in /etc/rc.conf tomcat60_java_opts="-Djava.util.logging.config.file=/usr/local/apache-tomcat-6.0/conf/logging.properties" When setting this option, it loads the config file, but throws some exceptions: Can't load log handler "4host-manager.org.apache.juli.FileHandler" java.lang.ClassNotFoundException: 4host-manager.org.apache.juli.FileHandler java.lang.ClassNotFoundException: 4host-manager.org.apache.juli.FileHandler ... Is there a recommended way to alter tomcat log level when installed through ports on freebsd? thanks! -roberthelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44930C57-0114-48AC-BFC7-17C33FEC3B98>
