Projet

Général

Profil

rsyslog.conf.patch

Benjamin Bohard, 10/02/2012 15:41

Télécharger (1,21 ko)

Voir les différences:

modif/rsyslog.conf 2012-02-07 20:24:33.831222246 +0100
11 11
#################
12 12

  
13 13
$ModLoad imuxsock # provides support for local system logging
14
$ModLoad imklog   # provides kernel logging support (previously done by rklogd)
15 14
$ModLoad immark  # provides --MARK-- message capability
16 15

  
16
# commented in container (eole-conteneur/lxc_install.sh l.216-7)
17
$ModLoad imklog   # provides kernel logging support (previously done by rklogd)
17 18
$KLogPath /proc/kmsg
18 19

  
19 20
$PreserveFQDN on
20 21

  
21
$ModLoad imtcp
22
$InputTCPServerRun 514
23

  
24
%if %%auto_module() == "zephirlogs"
22
%if %%auto_module() == "zephirlogs" or %%activer_reception_logs == "oui"
25 23
$ModLoad imrelp
26
%end if
24
$InputRELPServerRun 20514
27 25

  
28 26
%if %%rsyslog_tls == "oui" or %%auto_module() == "zephirlogs"
29 27
#$DefaultNetstreamDriver gtls
......
37 35
#$InputTCPServerStreamDriverAuthMode anon
38 36
#$InputTCPServerStreamDriverPermittedPeer *.%%nom_domaine_local
39 37

  
40
$InputRELPServerRun 20514
41 38

  
42 39
# provides TCP syslog reception
43 40
#$AllowedSender TCP, 127.0.0.1, 192.168.10.0/24
......
48 45
#$ActionSendStreamDriverAuthMode anon
49 46
%end if
50 47
%end if
48
%end if
51 49

  
52 50
###########################
53 51
#### GLOBAL DIRECTIVES ####