Configuring CTI component logging
Configure CTI component logging to enable component logging to the system logs.
Before you begin
Role required: admin
About this task
You can create logs for the following components:
- Operation handler
- Provider component
- Provider configuration
- Provider message transformer
Note:
Do not leave the log configurations on in a production instance, since this can impact performance.
Procedure
For an entry on sn_cti_log_cfg.list for an operation handler with warn log level logger located in the operation handler, the code is as follows:
var log= ctx.getLogger();
log.warn("CTX Logger Demo from Operation Handler");Sample output:
cti_core:: P:c4bae70xxxxf6a9a|C:bxxxx44|T:793cxxxx7b|O:6fb1xxxx4006dabb45vc::CTX Logger Demo from Operation Handler- P: Provider
- C: Component
- T: Transformer
- O: Operation handler