Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I am using Audium 3.3, and would like to build some custimized voice elements. Since I am using Java API, can I use "System.out.println()" to debug my java file? Or must I use the activity log? If I can use the Java standard output, where will the output go?
Regards,
S.
Subject: RE: Java debug tool when building customised element in Audium 3.3 Replied by: Michael Bochynski on 06-07-2004 05:20:09 PM Hi Sue,
Yes, you can use System.out.println() method in order to debug your custom code.
Your Java classes will use the application server's default output. Typically it would be the console, however, some application servers send their output to a file instead of a console. Please refer to your application sever documentation for details.
Regards, Michael
Subject: RE: Java debug tool when building customised element in Audium 3.3 Replied by: null on 30-08-2005 01:00:12 PM Just a note: a nice way to collect all your System.out.println debugging output is to start the Audium server with the "catalina run" command and redirect stdout to a text file. I have found this to be very handy at times. So for example, on a default windows CVP installation you could do the following:
c:/cisco/cvp/tomcat 4.1/bin/catalina run > c:/debug.txt
or you could also use log4j i suppose...
Subject: RE: Java debug tool when building customised element in Audium 3.3 Replied by: Michael Bochynski on 30-08-2005 01:42:10 PM Hi Peter,
Thanks for the tip! Moreover, if you install Tomcat as Windows service, all the console logs will be automatically stored in catalina.out file located in TOMCAT_HOME/logs folder.
Michael
Subject: RE: Java debug tool when building customised element in Audium 3.3 Replied by: Michael Bochynski on 01-09-2005 06:26:35 PM Sue, Peter,
We have just released a sample Debug element. It allows you to print out to console or log to a file Session and/or Element Data. The sample Debug element is available for download in our Sample Java code forum at:
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: