Logging
iWD Manager and iWD Runtime Node support creation of their own log files for troubleshooting purposes. As well, they both support centralized logging through Genesys Message Server. The parameters needed for both types of logging are configured in the log4j.properties file for each application. The following procedures explains how to configure the required parameters.
Configuring logging for iWD Manager and iWD Runtime Node
Prerequisites
- iWD Manager and iWD Runtime are both installed.
- For centralized logging, Genesys Message Server is installed.
Refer to the Framework 8.1 Management Layer User’s Guide for more information about Message Server.
Start
- Find the log4j.properties file in the web application server’s (Tomcat or WebSphere) webapps directory and open it in a text editor.
- The exact path is <Install dir>/iwd_node/config/log4j.properties for iWD Runtime Node and webapps/iwd_manager/WEB-INF/classes/log4j.properties for iWD Manager.
- For centralized logging, update the very first row of the log4j.properties file to include centralized_node at the end:
Example: /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/ rs6000Node01Cell/iwd_manager_war.ear/iwd_manager.war/WEB-INF/
classes-
log4j.rootLogger=INFO, runtime, centralized_node
-
log4j.appender.centralized_manager.MessageServerHost=
[ToBeChanged:MSG_SRV_HOST]
-
log4j.appender.centralized_manager.MessageServerPort=
[ToBeChanged:MSG_SRV_PORT]
-
log4j.appender.centralized_node.MessageServerClientName=
iWD Runtime Node
-
log4j.appender.centralized_node.Threshold=INFO
Threshold can be set to any of the following values:
- TRACE
- DEBUG
- INFO
- WARN
- ERROR
-
log4j.appender.runtime.File=C:/GCTI/iWD/iwd_runtime.log
-
log4j.appender.runtime.Threshold=INFO
Possible values are Off, Warning, Error, Debug, Info, and Trace.
-
log4j.appender.runtime.MaxFileSize=256MB
The following is a sample iWD Runtime log4j.properties file configured for logging:
-
info, rolling 256MB each (2 GB max)
-
log4j.rootLogger=INFO, runtime, centralized_node
-
log4j.category.org.apache.myfaces.renderkit.html.util=ERROR
-
log4j.category.org.hibernate.util.JDBCExceptionReporter=FATAL
-
log4j.category.org.hibernate.event.def.AbstractFlushingEventListener=FATAL
-
log4j.category.org.apache.commons.httpclient=ERROR
-
log4j.category.org.apache.commons.digester=ERROR
-
log4j.category.org.codehaus.xfire.transport.http.HttpChannel=FATAL
-
log4j.category.org.codehaus.xfire.handler.DefaultFaultHandler=ERROR
-
log4j.appender.runtime=org.apache.log4j.RollingFileAppender
-
log4j.appender.runtime.Threshold=INFO
-
log4j.appender.runtime.File=C:/GCTI/iWD/iwd_runtime.log
-
log4j.appender.runtime.layout=org.apache.log4j.PatternLayout
-
log4j.appender.runtime.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss}|%t|%p|%c|%m%n
-
log4j.appender.runtime.MaxBackupIndex=7
-
log4j.appender.runtime.MaxFileSize=256MB
-
if you enable centralized_node appender then make sure you change rootLogger to:
-
log4j.rootLogger=INFO, runtime, centralized_node
-
log4j.appender.centralized_node=com.genesyslab.iwd.log.CentralizedAppender
-
log4j.appender.centralized_node.Threshold=INFO
-
log4j.appender.centralized_node.layout=org.apache.log4j.PatternLayout
-
log4j.appender.centralized_node.layout.ConversionPattern=%m
-
log4j.appender.centralized_manager.MessageServerHost=MsgSrvrHost
-
log4j.appender.centralized_manager.MessageServerPort=4050
-
log4j.appender.centralized_node.MessageServerClientName=iWD Runtime Node
End
Purpose
To ensure iWD automatically runs the update scripts on the Interaction Server databases for compatibility with iWD 8.1, updates the configuration options for the Event Log DAP, creates the necessary Business Attributes in Configuration Server, and configures the completed-queues option for Interaction Server.
Prerequisites
- Interaction Server is correctly installed. (Refer to the eServices (Multimedia) 8.1 Deployment Guide).
- The installation of iWD components as outlined in this chapter is completed up to this point. In particular, iWD Manager must be installed.
Start
- Log into iWD Manager.
- Navigate to your iWD tenant.
- Navigate to the Configure Ixn Custom Properties tab and select your solution from the navigation tree
- Select Configure Ixn Custom Properties.
- To initiate these updates, click Configure Ixn Custom Properties.
The Mapping errors section on the right-side pane notifies you of the updates that must be made to your Interaction Server Event Log DAP and Business Attribute configuration. The Interaction Server and Event log database migrations section notifies you of the updates that must be done to your Interaction Server and Interaction Server Event Log databases.
You are prompted to restart Interaction Server.
End
enable-revoke-from-agent
Starting with Interaction Server 8.1.2, a configuration option, enable-revoke-from-agent, has been provided to support enhancements to task management in the Global Task List. Specifically, this option allows an Assigned interaction to be revoked from an employee desktop when the interaction is put on hold, canceled, or completed, from the Global Task List or through an iWD capture point.