Setting the Log Level for REST Outbound Services

When using Siebel outbound REST functionality, you may need to change the log level for debugging or diagnostic purposes. The default value is ERROR, and other available values are TRACE, DEBUG, INFO, WARN or FATAL. If you decide to set the log level for REST outbound services, you need to do so in each of your Siebel servers. REST outbound related logs are located in the following file: ses/applicationcontainer_internal/logs/restoutbound.log

Note: Outbound services created before the 20.8 release continue to use the pre-20.8 release REST outbound framework. If you want to use the new 20.8 framework, then you need to re-import the OpenAPI Specification (formerly the Swagger Specification) in the 20.8 release of Siebel tools. Before the 20.8 release, the REST outbound files were located in the following file: ses/applicationcontainer_internal/logs/siebejbs.log. The 22.9 release supports both the 2.0 and 3.0 OpenAPI Specification, and the OpenAPI Specification which was imported in 20.8 release or after 20.8 release would work seamlessly even after 22.9 update. But, if there is an update to already imported OpenAPI Specification using the 20.8 release, then the OpenAPI Specification (JSON) needs to be reimported after the 22.9 update.

To set the log level for REST outbound services

  1. Open the following file: ses\applicationcontainer_internal\webapps\siebel\WEB-INF\log4j2-siebel.xml

  2. Locate the entry: REST_OUT_LOGGER

  3. Change the log level as required.

    The following values are valid: ERROR, TRACE, DEBUG, INFO, WARN or FATAL. For example:

    <logger name="REST_OUT_LOGGER" level="INFO" additivity="false">
    
    <AppenderRef ref="REST_OUT_LOGGER"/>