Skip to content

Commit

Permalink
Merge pull request #376 from Icinga/enahancement/switch-default-logging
Browse files Browse the repository at this point in the history
Switch default logging to syslog
  • Loading branch information
lbetz authored Oct 19, 2023
2 parents 0441878 + a022406 commit 619c42b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'`

##### <a name="-icingaweb2--logging_file"></a>`logging_file`

Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 619c42b

Please sign in to comment.