Hi everyone,
I need to place my log file in a desired location to move from home development
to my web host's server, so it must be an exact location. Even simply trying at
home to put it in the %TOMCAT_HOME%/logs path is not working. The method I'm
using is the only desirable because I cannot set a variable visible to the JVM
because I don't have access to Tomcat.bat, etc.
I get an error in the console immediately and Tomcat never starts up because of
the properties files. Here is
-----------------------------------------------------------------------------------------
theHome = C:/Program Files/Apache Group/Tomcat 4.1/logs
log4j.rootCategory=ERROR, E
log4j.appender.E=org.apache.log4j.DailyRollingFileAppender
log4j.appender.E.Threshold=ERROR
log4j.appender.E.File=${theHome}/Log.html
log4j.appender.E.DatePattern='.'yyyy-MM-dd
log4j.appender.E.layout=org.apache.log4j.HTMLLayout
log4j.appender.E.layout.LocationInfo=true
log4j.appender.E.layout.Title=Logging!
Any thoughts?
Thanks,
Norma
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]