IBM Curam – Server & Client Tracing


Introduction


This tutorial explains Logging functionality provided by IBM Curam. IBM Curam offers a rich and highly configurable logging mechanism. Users can enable/disable the logging feature at run time, via User Interface sysadmin login. All properties are available in Application.prx file. We need to execute insertproperties ant command in order to load them into database table.

File NameApplication.prx

Ant Build Targetgenerated (if need constant file recreated) and insertproperties to insert data into database table.

These properties are loaded into Cache memory and need to bound server if any changes in the file or directly in the database table. Also, we can use sysadmin screen to update a particular value and publish using available option. No server binding required if you are updating value using sysadmin login.

We will explain various properties and benefits of logging. We can enable logging on Server as well as on Client side.

 


Enable Server Tracing


There are many benefits to enable server side tracing as it will provide more logs at application debug time. Please find description as given below –

S.No. Trace Name  Value(s)  Description, if any
1
curam.trace
  • trace_off
  • trace_on
  • trace_verbose
  • trace_ultra_verbose
  • trace_off is default value for this and it will disable all trace to add in log files.
  • trace_on
2
curam.trace.servercalls
Boolean values

  • true
  • false
 Trace server method invocations by remote clients. This information includes the name of the user who is requesting the invocation.

 

3
curam.trace.methods
Boolean values

  • true
  • false
Trace all business object (BO) method invocations.

 

4
curam.trace.sql
Boolean values

  • true
  • false
Default value is false and once it is updated to true then it will add all executed sql information in the log file. Using this trace developer can find out the SQL used for a particular process.

Trace SQL statements run by entity objects.

5
curam.trace.method_args
Boolean values

  • true
  • false
 Memory dump arguments, including their types, to business object method invocations.
6
curam.trace.sql_args
Boolean values

  • true
  • false
 Memory dump results of SQL select statements.
7  curam.trace.rules Boolean values

  • true
  • false
 Enables logging of rules
8  curam.trace.smtp Boolean values

  • true
  • false
 Trace the messages that are sent to the mail server.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *