|
File Logging - Date separator character |
Top Previous Next |
|
Section: HKEY_LOCAL_MACHINE\SOFTWARE\SolarWinds\Syslogd\Properties
Value (STRING): LogFileDateSeparator
Default value: "-" (dash) Type: Character, or string of characters
Normally the current date is represented in the YYYY-MM-DD format using a dash (-) as the separation character. You can change the separation character to any character you like. For example, some countries use a forward slash (/) as a date separator.
Be aware that changing the date separator may make the log files unreadable by some log file parsers and reporters. Reporting software may be looking for the dash (-) characters and may get confused when they are not present.
This setting applies only to the following formats:
Example usage:
Normal Kiwi ISO log file format message:
2004-05-27 10:58:22 Kernel.Warning 192.168.0.1 kernel: This is a test message
Changing the separator character to forward slash (/), the message would become:
2004/05/27 10:58:22 Kernel.Warning 192.168.0.1 kernel: This is a test message
See also, changing the time separator character
|