1. Shut down all QuerySurge processes in the usual order (Agents, Statsmon, Tomcat), except QuerySurge MySQL may be left running
2. Find the logging.properties file, at: \\<QuerySurge Install Dir>\QuerySurge\tomcat\conf\logging.properties
The default location on Windows boxes is: C:\Program Files\QuerySurge\tomcat\conf\logging.properties
The default location on Linux boxes is: /opt/QuerySurge/tomcat/conf/logging.properties
3. Edit the logging.properties file to change the following four keys:
1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
3manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
4host-manager.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
Change the directory values from "${catalina.base}/logs" to the directory you want to have the logging point to.
When you edit the file, note the following:
a) On Windows, you may use an absolute directory path with a drive letter
b) Even on Windows, you must specify the path with FORWARD SLASHES only. For example: C:/my path/my log dir
c) Double quotes around the path are not used, even if there are spaces in the path
4. Restart the QuerySurge processes in the reverse order (Tomcat, Statsmon, Agents). Your log output should appear in the new location.
Comments
0 comments
Please sign in to leave a comment.