summaryrefslogtreecommitdiffstats
path: root/etc/icinga2/features-available/mainlog.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/icinga2/features-available/mainlog.conf')
-rw-r--r--etc/icinga2/features-available/mainlog.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/icinga2/features-available/mainlog.conf b/etc/icinga2/features-available/mainlog.conf
new file mode 100644
index 0000000..a3bb19d
--- /dev/null
+++ b/etc/icinga2/features-available/mainlog.conf
@@ -0,0 +1,8 @@
+/**
+ * The FileLogger type writes log information to a file.
+ */
+
+object FileLogger "main-log" {
+ severity = "information"
+ path = LogDir + "/icinga2.log"
+}