
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 Name: Application.prx
Ant Build Target: generated (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 |
|
|
|
2 |
|
Boolean values
|
Trace server method invocations by remote clients. This information includes the name of the user who is requesting the invocation.
|
3 |
|
Boolean values
|
Trace all business object (BO) method invocations.
|
4 |
|
Boolean values
|
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 |
|
Boolean values
|
Memory dump arguments, including their types, to business object method invocations. |
6 |
|
Boolean values
|
Memory dump results of SQL select statements. |
7 | curam.trace.rules | Boolean values
|
Enables logging of rules |
8 | curam.trace.smtp | Boolean values
|
Trace the messages that are sent to the mail server. |