Cisco Unified Application Environment Mailing Lists                                                

Subscribing to the mailing-lists

To Subscribe one or more of our mailing-lists,
please use the mailing-list management page at this URL: http://developer.cisco.com/web/cuae/mailer.

  Web Archives

       To browse the mailing-list archives, select one of the categories below:

 

Cisco Unified Application Environment Developer Forums Cisco Unified Application Environment Developer Forums
Combination View Flat View Tree View
Threads [ Previous | Next ]
Implementation of logging framework in CUAE Applications
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
Flag Flag
RE: Implementation of logging framework in CUAE Applications
7/7/09 7:56 AM as a reply to VAMSIMADHAV VANGURY.
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 
Flag Flag