My webMethods Server 10.5 | My webMethods Server Webhelp | Administering My webMethods Server | System Administrator Functions | Analysis, Reporting, and Troubleshooting | Controlling Server Logging | Changing the Default Logging Directory
 
Changing the Default Logging Directory
By default, logs for a server instance reside in this location:
Software AG_directory \MWS\server\serverName\logs
You can change the location of this directory by modifying the systemPaths.properties file.
*Changing the default logging directory
1. Download the systemPaths.properties file from the My webMethods Server database:
a. At a command line prompt, change directories to move to the server’s bin directory:
Software AG_directory \MWS\bin
b. To retrieve the systemPaths.properties file from the database, type this command:
mws -s serverName getconfig systemPaths.properties
2. Open, in a text editor, the systemPaths.properties file, which you will find in this location:
Software AG_directory \MWS\server\serverName\config
3. Modify this line to point to the new location of the logs directory, and save the file:
system.path.logs=root:/logs
4. Deploy the revised file to the My webMethods Server database:
a. At a command line prompt, change directories to move to the server’s bin directory:
Software AG_directory \MWS\bin
b. To write the systemPaths.properties file back to the database, type this command:
mws -s serverName putconfig systemPaths.properties
c. Delete the local copy of the systemPaths.properties file.
If you do not delete the file, the server instance will continue to use the local version of the file.
5. Restart the server instance.
Changes do not take effect until the server is restarted.