Software AG Product Suite 10.4 | Software AG Runtime Logging | Deleting sag-osgi Log Files
 
Deleting sag-osgi Log Files
You configure the Software AG Runtime sag-osgi log in the Software AG_directory \profiles\CTP\configuration\logging\log_config.xml log configuration file.
To automatically delete sag-osgi log files, you must specify a value for the MaxBackupIndex parameter in the Platform.RollingLogFile appender in the log_config.xml file. For example, if you specify value="2", the log keeps two log files in addition to the current one. The default value is 10.
The following example shows how to set the MaxBackupIndex parameter.
<appender name="Platform.RollingLogFile" class="org.apache.log4j.RollingFileAppender">
// other config
<param name="MaxBackupIndex" value="2" />
// other config
</appender>
For more information about the appenders and configuration parameters in the log_config.xml file, see the Apache Log4j documentation.

Copyright © 1999-2019 | 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.
Innovation Release