Configuring the User Logger
To enable the User Logger, add the
CL_CONFIG_USER_LOGGER
variable into cl.cfg
or as an environment variable.The format of the variable value should be the following:
- <mode>
- <log destination>
- <mode>,<log destination>
where:
- <mode> may beI,IE,EI, orE.Istands for logging the API calls, andEstands for logging the errors. If both are specified, then logging of both API calls and errors is performed. If none is specified, only errors are logged.
- <log destination> may be:
- stdout- the log is printed to the standard output.
- stderr- the log is printed to the standard error.
- <filename>- a file named as is<filename>_PID<process ID>_<date and time>.txt