Christopher Faulet
28ac099907
MINOR: log: Keep the ref when a log server is copied to avoid duplicate entries
...
With "log global" line, the global list of loggers are copied into the proxy's
struct. The list coming from the default section is also copied when a frontend
or a backend section is parsed. So it is possible to have duplicate entries in
the proxy's list. For instance, with this following config, all messages will be
logged twice:
global
log 127.0.0.1 local0 debug
daemon
defaults
mode http
log global
option httplog
frontend front-http
log global
bind *:8888
default_backend back-http
backend back-http
server www 127.0.0.1:8000
2018-04-05 15:13:54 +02:00
..
2015-04-06 11:23:56 +02:00
2017-10-31 11:36:12 +01:00
2017-10-31 21:17:19 +01:00
2018-01-25 22:25:40 +01:00
2014-03-17 18:06:06 +01:00
2017-11-13 11:38:17 +01:00
2017-11-20 19:22:27 +01:00
2017-11-24 17:49:53 +01:00
2017-11-09 15:16:05 +01:00
2017-11-29 10:54:05 +01:00
2017-09-13 13:37:59 +02:00
2016-02-09 14:53:15 +01:00
2018-03-30 14:41:19 +02:00
2016-11-25 15:03:12 +01:00
2018-01-09 15:43:11 +01:00
2018-02-05 16:02:22 +01:00
2017-10-31 13:58:32 +01:00
2010-08-10 14:01:09 +02:00
2018-01-23 15:38:33 +01:00
2017-10-31 08:43:29 +01:00
2006-12-04 02:20:02 +01:00
2017-10-31 13:58:32 +01:00
2016-10-25 20:21:32 +02:00
2012-02-21 22:27:27 +01:00
2009-10-26 21:10:04 +01:00
2009-10-26 21:10:04 +01:00
2017-10-31 13:58:31 +01:00
2017-11-24 15:38:50 +01:00
2018-04-05 15:13:54 +02:00
2016-02-20 15:33:06 +01:00
2016-03-30 15:41:15 +02:00
2017-10-31 18:03:23 +01:00
2017-11-13 11:38:17 +01:00
2017-11-13 11:38:17 +01:00
2009-01-25 13:49:53 +01:00
2009-06-10 12:23:32 +02:00
2017-12-22 17:56:17 +01:00
2015-06-13 22:07:35 +02:00
2017-09-15 11:49:52 +02:00
2017-11-26 11:10:52 +01:00
2018-03-19 10:03:06 +01:00
2016-08-09 14:03:23 +02:00
2018-03-21 05:04:01 +01:00
2017-10-08 22:32:05 +02:00
2017-11-21 21:35:04 +01:00
2010-08-27 18:00:40 +02:00
2018-04-05 15:13:54 +02:00
2018-03-01 11:33:18 +01:00
2018-02-26 11:53:46 +01:00
2018-01-31 09:40:05 +01:00
2017-12-20 16:56:32 +01:00
2018-03-19 10:03:06 +01:00
2017-11-13 11:38:17 +01:00
2006-06-29 18:54:54 +02:00
2017-11-13 11:38:17 +01:00