Application Integration (On-Premises) : Administering the Software AG Infrastructure : Working with Web Services : Configure Logging : Configure Logging in Web Services Stack
Configure Logging in Web Services Stack
Web Services Stack uses Journal Logging as a logging mechanism. The Journal Logging is delivered with the shared component bundle com.softwareag.sc.core and its configuration file is located in the Software AG_directory /profiles/CTP/configuration/logging directory in the log_config.xml file.
The Journal Logger is a wrapper around log4J and every Journal Logging logger wraps a standard log4J logger. For this reason, the Journal Logger component delivers log4J as part of its implementation. The Journal Logger configuration is a standard log4J configuration that sets up the underlying log4J library. If necessary, you can use log4J directly. You should add your log4J settings to the Journal Logger configuration file. Basically, the format of the log_config.xml file is the same as the format of the log4J XML configuration. The Journal Logger contains several additional appenders than the standard log4J appenders.
To enable logging and configure the corresponding severity, open the log_config.xml file and edit this excerpt as follows:
<root>
<level value="info" />
<appender-ref ref="Platform.Console" />
<appender-ref ref="Platform.RollingLogFile" />
</root>
Copyright © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback