This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global | |
| log 127.0.0.1 local0 | |
| log 127.0.0.1 local1 notice | |
| #Adds a global syslog server. Up to two global servers can be defined. They | |
| #will receive logs for startups and exits, as well as all logs from proxies | |
| #configured with "log global". An optional level can be specified to filter | |
| #outgoing messages. By default, all messages are sent. | |
| #An IPv4 address optionally followed by a colon and a UDP port. If | |
| #no port is specified, 514 is used by default (the standard syslog port). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global | |
| log 127.0.0.1 local0 | |
| log 127.0.0.1 local1 notice |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| auth,authpriv.* /var/log/auth.log | |
| *.*;auth,authpriv.none -/var/log/syslog |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| auth,authpriv.* /var/log/auth.log | |
| *.*;auth,authpriv,local0,local1.none -/var/log/syslog |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Custom log facilities for haproxy | |
| local0.* /var/log/haproxy0a.log | |
| local1.* /var/log/haproxy1a.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Custom log facilities for haproxy | |
| local0.* -/var/log/haproxy0a.log | |
| & ~ | |
| local1.* -/var/log/haproxy1a.log | |
| & ~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /var/log/haproxy*.log | |
| { | |
| rotate 4 | |
| weekly | |
| missingok | |
| notifempty | |
| compress | |
| delaycompress | |
| sharedscripts | |
| postrotate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Custom log facilities for haproxy | |
| local0.* /var/log/haproxy0a.log | |
| local1.* /var/log/haproxy1a.log | |
| $ModLoad imudp | |
| # load the imudp module for rsyslog | |
| # provides UDP syslog reception | |
| # start UDP server on this port, "*" means all addresses | |
| $UDPServerRun 514 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Include all config files in /etc/rsyslog.d/ | |
| # | |
| $IncludeConfig /etc/rsyslog.d/*.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Custom log facilities for haproxy | |
| local0.* /var/log/haproxy0a.log | |
| local1.* /var/log/haproxy1a.log | |
| $ModLoad imudp | |
| # load the imudp module for rsyslog | |
| # provides UDP syslog reception | |
| # start UDP server on this port, "*" means all addresses | |
| $UDPServerRun 514 |