Siebel Chat Guide > Working with Siebel Chat > Setting Up Logging and Tracing for Siebel Chat Components >

Turning on Error Logging for the Oracle Contact On Demand Web Application


Turn on logging for the Oracle Contact On Demand Web application so that you can review any messages that have been logged from the siebel_chat_page.jsp page and its Java components. You can turn on logging for the Oracle Contact On Demand Web application using the web.xml configuration file for the Web application. Use the following procedure to turn on error logging for the Oracle Contact On Demand Web application.

To turn on error logging for the Oracle Contact On Demand Web application

  1. Add the following parameter definition to the web.xml configuration file:

    <context-param>
       <param-name>debugTracelevel</param-name>
       <param-value>DEBUG</param-value>
    </context-param>

    The following table describes all the valid logging parameter values that can be set in the web.xml configuration file for the Oracle Contact On Demand Web application.

    Value
    Description

    FATAL

    Logs all fatal message errors.

    ERROR

    Logs all standard message errors.

    WARN

    Logs all warning messages.

    INFO

    Logs all information messages.

    DEBUG

    Enables debugging for the Oracle Contact On Demand Web application.

  2. Specify the name of the log file and the location where the log file is created using the following parameter definition:

    <context-param>
       <param-name>debugLogFile</param-name>

       <param-value>/WEB-INF/logs/taw.log</param-value>
    </context-param>

  3. Review any messages that have been logged by searching for siebel_chat_page.jsp in the log file.

NOTE:  Customers can choose to turn on logging when submitting a chat request using the chat request test page. This allows messages written from the JavaScript running in the browser to be viewed in a separate browser window.

Siebel Chat Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.