11

Rsyslog is backwards-compatible with Syslog configuration files.

The syslog.conf man page has:

You may prefix each entry with the minus ``-'' sign to omit syncing the file after every logging. Note that you might lose information if the system crashes right behind a write attempt. Nevertheless this might give you back some performance, especially if you run programs that use logging in a very verbose manner.

but I could not find aything about the - sign in man rsyslog.conf.

What does rsyslog do when if reads - in the config file?

Aleksandr Levchuk
  • 2,465
  • 3
  • 22
  • 41

1 Answers1

11

It has the same function. Docs (cached version, since the original is returning an error right now)

Dennis Williamson
  • 62,149
  • 16
  • 116
  • 151