Custom logging in IPIVR

Unanswered Question
Jul 4th, 2010

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
cndilip123 Wed, 05/18/2011 - 23:06

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

Actions

This Discussion