P
Peter Rank
Hi all,
I've running Tomcat 5.5 and I'm using the standard java logging.
When I start tomcat from command-line everything works fine. Everyday
I got a new juliXXX.log file in my log directory.
In catalina.bat I have the following entry:
set JAVA_OPTS=%JAVA_OPTS% -
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
Djava.util.logging.ocnfig.file="${catalina.base}\conf
\logging.properties"
Now I want to run tomcat as a service but all I got in the log-
directory is the complete output in stdout_XXX.log file.
How can I tell tomcat, that it should use the logging.properties I
described above.
I tried to set the options above via script or the tomcat5w
application but it does not have any impact.
In my script I set the following options:
"%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
"%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-
Djava.util.logging.config.file=C:\logging.properties"
Am I totally wrong?
Thanks
Peter
I've running Tomcat 5.5 and I'm using the standard java logging.
When I start tomcat from command-line everything works fine. Everyday
I got a new juliXXX.log file in my log directory.
In catalina.bat I have the following entry:
set JAVA_OPTS=%JAVA_OPTS% -
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
Djava.util.logging.ocnfig.file="${catalina.base}\conf
\logging.properties"
Now I want to run tomcat as a service but all I got in the log-
directory is the complete output in stdout_XXX.log file.
How can I tell tomcat, that it should use the logging.properties I
described above.
I tried to set the options above via script or the tomcat5w
application but it does not have any impact.
In my script I set the following options:
"%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-
Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"
"%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-
Djava.util.logging.config.file=C:\logging.properties"
Am I totally wrong?
Thanks
Peter