Logging Parameters
Parameters | Default | Description |
---|---|---|
Log_Level | WARN | Specifies the level of logging to be performed by the client. Possible settings: — NONE: Disables client logging. — ERROR: Only error messages are logged. — WARN: Logs error messages and warnings. — INFO: Logs error messages, warnings, and informational messages. — DEBUG: Logs the diagnostic information. |
Log_File | no default | The location of the log file the client will create. It includes the path and the name of the log file created by the user. Path can be absolute or relative to your application. Do not use quotes, even if the path contains spaces. The user running the client application must have permission to write to the log file and to create new files in the directory where the log files are created. |
Log_Rotation | Daily | Decides how frequently the log file will be rotated. Possible settings: — Daily: Rotates log file each day. — Weekly: Rotates log file each week. — Monthly: Rotates log file each month. — Size: Rotates log file when they reach the size specified in Log_Size_Limit . — None: No logs are generated. |
Log_GMT | no | Determines whether timestamp should be formatted in GMT. Possible settings: — yes: Timestamps include the GMT offset. For example, when enabled, timestamps include the deviation from GMT, as shown below here: [10/04/11 14:21:12:194 GMT- 700] — no: Timestamps do not include the GMT offset. |
Log_Size_Limit | 100k | Determines how large log files are before they are rotated. This parameter is used only when Log_Rotation is set to Size. The default unit is bytes however, you can use the suffix k or K for kilobytes and m or M for megabytes. Possible setting: — Any positive integer. |
Log_MaxBackupIndex | -1 | Maximum number of log backup files to be stored on the disk if log rotation is enabled. Possible settings: — -1: Allows infinite backup files storage on disk. — 0: Allows maximum 7 backup files storage on disk. — Any positive integer |
SysLog_IP | no default | IP address of the SysLog server on which logs are to be saved. Either SysLog_IP or Log_File parameter will be used for logging. If both are specified, SysLog_IP will be preferred for logging. IPv6 is not supported for Syslog Server. |
SysLog_Port | no default | The port on which the client will connect to the SysLog server. |
SysLog_Protocol | no default | The protocol used to communicate between the client and the SysLog server Possible settings: — TCP — UDP — SSL |
Log_Config_Advanced | none | Full path to the log4j configuration file, where user can specify additional configuration properties in key-value format. |