Cisco Unified Application Environment Developer Forums

« Back to Developers

Implementation of logging framework in CUAE Applications

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
 Is there a Logging framework for CUAE for Java already developed ?
Any pointers to a sample/documentation/draft/any other application which has examples of using the logging framework in any way would be really very helpful.

Regards,
Vamsi

Hi Vamsi,
 
There is a logging framework avilable where we can write the logs in the AppServer log file. You can use it this way
 
server.logWrite( LogLevel.INFO, "My Log Statement" );

You can change the level from INFO, VERBOSE, WARNING, ERROR etc. Similar to what we see in the trace settings for the CUAE logs. You can take a look at the SimpleJtapiPhoneMonitor Java example for this.
 
Thanks
Nabhonil