Open
Description
What this module refers to as "legacy_config" is actually what Rsyslog refers to as the basic
syslog configuration.
Vote for renaming this to match the rsyslog documentation.
example of what Rsyslog calls "Basic" syslog configuration:
mail.info /var/log/mail.log
mail.err @@server.example.net
How we create those in this module today:
rsyslog::component::legacy_config { 'mail.info':
'priority' => $rsyslog::legacy_config_priority,
'target' => $rsyslog::target_file,
'confdir' => $rsyslog::confdir,
'key' => 'mail.info',
'value' => '/var/log/mail.log',
}
rsyslog::component::legacy_config { 'mail.err':
'priority' => $rsyslog::legacy_config_priority,
'target' => $rsyslog::target_file,
'confdir' => $rsyslog::confdir,
'key' => 'mail.err',
'value' => '@@server.example.net',
}