From a02240672a78f51205e29d8f3eab67114ce66a2e Mon Sep 17 00:00:00 2001 From: Lennart Betz Date: Thu, 19 Oct 2023 15:37:55 +0200 Subject: [PATCH] Switch default logging to syslog --- REFERENCE.md | 2 +- manifests/init.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index 63410025..e553d69b 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -225,7 +225,7 @@ Data type: `Enum['file', 'syslog', 'php', 'none']` Whether Icinga Web 2 should log to 'file', 'syslog' or 'php' (web server's error log). Setting 'none' disables logging. -Default value: `'file'` +Default value: `'syslog'` ##### `logging_file` diff --git a/manifests/init.pp b/manifests/init.pp index 8ca3b1b4..3fa61f90 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -215,7 +215,7 @@ Icingaweb2::Secret $default_admin_password, Optional[Variant[Stdlib::Absolutepath, Array[Stdlib::Absolutepath]]] $module_path = undef, - Enum['file', 'syslog', 'php', 'none'] $logging = 'file', + Enum['file', 'syslog', 'php', 'none'] $logging = 'syslog', Enum['ERROR', 'WARNING', 'INFO', 'DEBUG'] $logging_level = 'INFO', Pattern[/user|local[0-7]/] $logging_facility = 'user', String $logging_application = 'icingaweb2',