Configuring Web Application Logs

By default the application logs to level INFO in root logger of the log4j framework, that redirects to the System.out log file of the server.

Alternatively, set on the web application server JVM the system property log4j-sodius.configuration to the path of a log4j properties file:

a Windows example sodiuslog4j.properties file is provided that logs application logs and http calls in and out of the application in separate log files,namely oslc_connect_windchill.log, access.log and http_component.log: https://oslc-connector.acme.com:8443/oslc-windchill/help/topic/com.sodius.windchill.server.oslc.doc/resources/sodiuslog4j.properties

For the access.log file, set on the web application server JVM the system property oslc.accessLog.headers to the following value: -Doslc.accessLog.headers=Accept,Content-type,WWW-Authenticate,Cookie,Set-Cookie,X-com-sodius-oauth-redirect-location