Skip to main content

syslog_io is a wrapper module that uses the syslog library routines to log to the system logger facility.

Configuration

syslog_io {
  ident = "ecelerity" # the default
  default_facility = "mail" # the default
}
default_facility

The default_facility, having a default value, "mail"

ident

The identification string, having a default value, "ecelerity"

When this module is enabled, you can use the syslog:// wrapper to write paniclog entries to the system log. You can override the default facility via an URL parameter, and optionally set the priority (the default value is error). For example:

ec_logger "ec_logger1" {
  paniclog = "syslog://?facility=mail&priority=error"
}

The facilities and priorities are the standard syslog values. Not all facilities are available on all systems.

Be careful using this wrapper for the mainlog or rejectlog; the volume is likely to swamp the system logger.

Was this page helpful?