Logging
Log Destination
This option allows the user to set the destination for logging. The value of ‘log_destination’ global configuration option can have one of the following mutually exclusive destinations:
- console– Prints messages to ‘stdout’ and to ‘stderr ’ in case of an error.
- syslog – Sends messages to the system’s syslog.
- file – Records messages to a file.
Each log message consists of two parts: ‘log-metadata’ and ‘log-content’.
‘log-metadata’ may contain any of the following components (please refer to section Log Parameters for details on configuring the components) :
- Timestamp of the message in RFC 3339 format. The timestamp can have microsecond resolution and timezone.
- The ID of thread printing this message.
- The severity level of the message.
- Name of a module or topic from where the message is printed.
note