bareos2015: bareos-14.2 9eba41d7

Author Committer Branch Timestamp Parent
mvwieringen mvwieringen bareos-14.2 2014-11-13 21:26 bareos-14.2 853c9458 Pending
Changeset Fix syslog message destinations.

- Up until now every message send to syslog was logged as LOG_DAEMON and LOG_ERR
- This code adds the knowledge to use the right log level for things
  like debug, notice, info, error and critical errors into syslog.
- The message destination parsing now also allows you to specifiy an
  syslog facility that should be used to log the syslog messages against.

e.g. the following should now work:

  syslog = local0 = all

To get all messages logged using the right log level to the LOG_LOCAL0 facility.
mod - src/lib/message.c Diff File
mod - src/lib/message.h Diff File
mod - src/lib/parse_conf.h Diff File
mod - src/lib/res.c Diff File
mod - src/win32/compat/compat.c Diff File
mod - src/win32/compat/include/syslog.h Diff File