Network Configuration Parameters
Parameters | Default | Description |
---|---|---|
Log_Level | MEDIUM | The Log_Level parameter determines the level of logging performed by the client.Possible settings: —NONE – Disables client logging. It is recommended not to disable logging. —LOW – Only error messages are logged. —MEDIUM – The client logs error messages and warnings. This is the default setting. —HIGH – The client logs error messages, warnings, and informational messages. This level generates a very large number of entries and is usually reserved for debugging. |
Log_File | No default | The Log_File parameter specifies a name (and possibly a path) for the log file.Possible settings: —The file name – The log will be created in the same directory as the client. The default value is Logfile.txt. —The path and file name – The path can be absolute or relative to the application. Don’t use quotes even if the path contains spaces. On Windows, the log file path must include double slash. For example, C:\\logs\\logfile.txt .Note: Either SysLog_IP or Log_File parameter will be used during any activity for logging. If both the values are specified, SysLog_IP will be used. |
Log_Rotation | Daily | The Log_Rotation parameter specifies whether logs are rotated daily or once they reach a certain size.Possible settings: —Daily – Rotates logs daily. —Size – Rotates logs when the reach the size specified in Log_Size_Limit . |
Log_GMT | no | The Log_GMT parameter specifies whether timestamp should be formatted in GMT or not.Possible settings: —yes – Timestamps will be formatted in GMT. —no – Timestamps will not be formatted in GMT. |
Log_Size_Limit | 100k | The Log_Size_Limit parameter specifies how large log files can be before they are rotated. This parameter is used only when Log_Rotation is set to Size .Possible settings: —Any positive integer – The default unit is bytes. Use the suffix k (or K) for kilobytes and m (or M) for megabytes. |
SysLog_IP | No default | The SysLog_IP parameter specifies the IP address of the Syslog server where the log messages are to be directed.Note: Either SysLog_IP or Log_File parameter will be used during any activity for logging. If both the values are specified, SysLog_IP will be used. IPv6 is not supported for Syslog server. |
SysLog_Port | 514 | The SysLog_Port parameter specifies the port number used to connect CDP for DB2 to the syslog server. |
SysLog_Protocol | UDP | The SysLog_Protocol parameter specifies the protocol used for communication between CDP for DB2 and the syslog server.Possible settings: —TCP – Enables the TCP protocol. —UDP – Enables the UDP protocol. |