Haproxy: Difference between revisions

From Halfface
Jump to navigation Jump to search
Line 4: Line 4:
   log /var/lib/rsyslog/rsyslog.sock local1 debug
   log /var/lib/rsyslog/rsyslog.sock local1 debug
==log global==
==log global==
The log global directive basically says, use the log line that was set in the global
  defaults
  defaults
   maxconn 20000
   maxconn 20000
   option httplog
   option httplog
   log global
   log global

Revision as of 14:24, 29 April 2021

logging

Log configuration. Send log to specified sock. with facility local0. Syslog level.

global
 log /var/lib/rsyslog/rsyslog.sock local1 debug

log global

The log global directive basically says, use the log line that was set in the global

defaults
  maxconn 20000
  option httplog
  log global