Software AG Product Suite 10.4 | Working with Web Services | Configuring Logging in Web Services Stack
 
Configuring 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>
Configuring Logging When Web Services Stack is Deployed on an Application Server
When Web Services Stack is deployed on an application server, for example a standalone Apache Tomcat server, you configure the Web Services Stack logging according to the server's 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