| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 
 | Description: Update default configuration
 Set agent logger default to system logging and stderr
 Enable 'include conf.d' directive
Forwarded: not-needed
Author: Guillaume Bougard <gbougard@teclib.com>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2020-11-27
--- a/etc/agent.cfg
+++ b/etc/agent.cfg
@@ -97,13 +97,13 @@ httpd-trust =
 #
 
 # Logger backend, either Stderr, File or Syslog (Stderr)
-logger = stderr
+logger = syslog,stderr
 # log file
 #logfile = /var/log/fusioninventory.log
 # maximum log file size, in MB
 #logfile-maxsize = 0
 # Syslog facility
-logfacility = LOG_USER
+logfacility = LOG_DAEMON
 # Use color in the console
 color = 0
 
@@ -133,5 +133,5 @@ debug = 0
 #   4. Package maintainers are encouraged to use this feature to avoid conflict
 #      during upgrades after configuration update
 #
-#include "conf.d/"
+include "conf.d/"
 #include "agent.local"
 |