From: Michael Friedrich Date: Thu, 3 Oct 2013 17:40:26 +0000 (+0200) Subject: Add config feature 'syslog' logger. X-Git-Tag: v0.0.3~267 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f330c03081be20909660db92e95056baff97559;p=icinga2 Add config feature 'syslog' logger. --- diff --git a/etc/icinga2/Makefile.am b/etc/icinga2/Makefile.am index 5eda82ed8..4149576c4 100644 --- a/etc/icinga2/Makefile.am +++ b/etc/icinga2/Makefile.am @@ -24,4 +24,5 @@ install-exec-hook: $(MKDIR_P) features-enabled && \ $(LN_S) ../features-available/checker.conf features-enabled/; \ $(LN_S) ../features-available/notification.conf features-enabled/; \ + $(LN_S) ../features-available/syslog.conf features-enabled/; \ fi diff --git a/etc/icinga2/features-available/Makefile.am b/etc/icinga2/features-available/Makefile.am index c40b43332..bcdba283c 100644 --- a/etc/icinga2/features-available/Makefile.am +++ b/etc/icinga2/features-available/Makefile.am @@ -10,6 +10,7 @@ CONFIG_FILES = \ livestatus.conf \ notification.conf \ perfdata.conf \ + syslog.conf \ statusdat.conf install-data-local: diff --git a/etc/icinga2/features-available/syslog.conf b/etc/icinga2/features-available/syslog.conf new file mode 100644 index 000000000..c086e1a3f --- /dev/null +++ b/etc/icinga2/features-available/syslog.conf @@ -0,0 +1,8 @@ +/** + * The SyslogLogger type writes log information to syslog. + */ + +object SyslogLogger "syslog" { + severity = "information" +} +