Change the Default Location or Names of the Controller Logs
- Set the new location for start.ini by editing the following property:
-Dcom.appdynamics.controller.logs.dir=<New log location>
If you specify a directory that does not exist, it is created when you restart the application server.
- Change the database.log location by opening the <controller_home>/db/db.cnf file. You can also change the db.cnf file from the Enterprise Console GUI Database Configurations page. Doing so also restarts the database server.Note: The Enterprise Console takes a backup when you modify these configurations.
- Set the value of the log-error property to the new location of the database.log file. This directory location must exist before you restart the Controller or you will get start-up errors.
- Copy if desired any existing logs from the default directory (<controller_home>/logs) to the new location.
- Restart the Controller. See Start or Stop the Controller.
- Verify that the server.log files are being written to the new location and remove the old log files. The database.log location is <controller_home>/db/logs/database.log.