Installer 10.5 | Complete Installation and Upgrade Information for Software AG Products | Command Central | Logging and Troubleshooting | Using the Command Central and Platform Manager Logs | Changing the Log Configuration Settings
 
Changing the Log Configuration Settings
 
Changing the Wrapper Logs Configuration
You can change the default configuration settings for a log, for example when you want to specify a different location for a log file. You use the Command Central CLI configuration commands to change the configuration settings for the Command Central and Platform Manager logs, except for the wrapper logs.
1. Use the following Command Central CLI command to get the log configuration data for a node:
*For the Command Central logs:
sagcc get configuration data node_alias OSGI-CCE log4j2.properties -o log.properties
*For the Platform Manager logs:
sagcc get configuration data node_alias OSGI-SPM log4j2.properties -o log.properties
The log.properties file from the output of the command contains the log configuration settings.
2. Open the log.properties file in a text editor and change the values of the parameters or add a new logger as required.
3. In the Command Central CLI, update the log configuration settings using this command:
*For the Command Central logs:
sagcc update configuration data node_alias OSGI-CCE log4j2.properties -i log.properties
*For the Platform Manager logs:
sagcc update configuration data node_alias OSGI-SPM log4j2.properties -i log.properties