cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
678
Views
0
Helpful
1
Replies

Custom logging in IPIVR

cndilip123
Level 1
Level 1

Dear all,

I would like to log basic messages (custom logging) from my custom Java classes.

Any pointers on how I can do this?

I am using IP IVR 3.5.

Thank you,

Dilip

1 Reply 1

cndilip123
Level 1
Level 1

Apache log4j was used to write logs for the custom Java code. Following was done to enable this:

  1. Find the log4j library compatible with the Java version in the IPIVR
  2. Embed your custom Java code with calls to log4j logging methods

In the IPIVR server

  1. Add the log4j library to the classpath
  2. Edit the log4j.properties file and place it in the wfavvid folder
  3. Copy your custom java class on to the server
  4. Restart the CRS engine