webMethods Product Suite  | 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 COMMON-LOG-log_config.xml
-o log.xml
*For the Platform Manager logs:
sagcc get configuration data node_alias OSGI-SPM COMMON-LOG-log_config.xml
-o log.xml
The log.xml file from the output of the command contains the log configuration settings.
2. Open the log.xml 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 COMMON-LOG-log_config.xml
-i log.xml
*For the Platform Manager logs:
sagcc update configuration data node_alias OSGI-SPM COMMON-LOG-log_config.xml
-i log.xml

Copyright © 2007-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.