3.3. Logging Broker Errors

3.3. Logging Broker Errors

Logging is enabled in the broker by default for all errors. Output is sent to stderr - the standard output error stream (usually this is the shell prompt). You can choose to log using syslog, which allows you to store logs to either a local file or to a remote logging server.

Options for logging with syslog
--log-output FILE Send log output to the specified filename. FILE can also be one of the special values:
  • stderr

    Standard output error stream

  • stdout

    Standard output

  • syslog

    Use syslog for log output

The default is stderror.
--syslog-name NAME Specify the name to use in syslog messages. The default is qpidd.
--syslog-facility LOG_XXX Specify the facility to use in syslog messages. The default is LOG_DAEMON.
Table 3.5. Logging Options