Haproxy

From Halfface
Jump to navigation Jump to search

logging

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

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

log global

defaults
  maxconn 20000
  # option httplog more verbose HTTP logging.
  option httplog
  # The log global directive basically says, use the log line that was set in the global
  log global