File: default_config.patch

package info (click to toggle)
fusioninventory-agent 1%3A2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 27,492 kB
  • sloc: perl: 120,896; xml: 9,459; sh: 760; python: 26; makefile: 13
file content (33 lines) | stat: -rw-r--r-- 899 bytes parent folder | download | duplicates (3)
1
2
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"