Thierry FOURNIER / OZON.IO
a2c38d7904
MEDIUM: log-format: strict parsing and enable fail
...
Until now, the function parse_logformat_string() never fails. It
send warnings when it parses bad format, and returns expression in
best effort.
This patch replaces warnings by alert and returns a fail code.
Maybe the warning mode is designed for a compatibility with old
configuration versions. If it is the case, now this compatibility
is broken.
[wt: no, the reason is that an alert must cause a startup failure,
but this will be OK with next patch]
2016-11-24 18:54:26 +01:00
..
2015-04-06 11:37:25 +02:00
2015-10-02 22:56:11 +02:00
2016-11-18 14:32:03 +01:00
2016-03-15 22:11:52 +01:00
2014-03-17 18:06:07 +01:00
2015-04-06 11:23:56 +02:00
2016-05-04 15:26:37 +02:00
2016-11-09 22:57:02 +01:00
2016-11-24 16:59:27 +01:00
2016-02-09 14:53:15 +01:00
2016-11-24 16:58:12 +01:00
2016-09-12 19:54:23 +02:00
2014-11-21 20:37:32 +01:00
2016-11-21 15:29:58 +01:00
2016-02-09 14:53:15 +01:00
2014-06-17 17:15:51 +02:00
2015-04-06 11:23:56 +02:00
2011-10-24 18:15:04 +02:00
2016-03-30 15:44:58 +02:00
2015-06-17 20:18:54 +02:00
2009-10-09 07:17:58 +02:00
2012-02-21 22:27:27 +01:00
2009-10-01 11:19:37 +02:00
2009-10-01 11:19:37 +02:00
2009-10-01 21:11:15 +02:00
2016-04-14 11:18:22 +02:00
2016-11-24 18:54:26 +01:00
2015-08-20 17:13:46 +02:00
2015-04-23 17:56:16 +02:00
2016-11-08 20:54:41 +01:00
2016-02-10 23:38:34 +01:00
2015-04-06 11:23:56 +02:00
2015-05-29 15:50:33 +02:00
2009-01-25 13:49:53 +01:00
2009-06-10 12:23:32 +02:00
2016-11-05 15:58:08 +01:00
2016-10-21 18:19:24 +02:00
2016-04-14 11:18:22 +02:00
2015-04-06 11:23:56 +02:00
2015-02-28 23:12:31 +01:00
2016-11-24 16:59:27 +01:00
2015-04-06 11:23:56 +02:00
2012-10-04 22:26:09 +02:00
2016-11-09 22:57:00 +01:00
2016-11-24 17:32:01 +01:00
2015-04-06 11:37:33 +02:00
2014-05-08 22:46:32 +02:00
2012-09-03 20:49:14 +02:00
2016-02-09 09:04:53 +01:00
2016-11-24 16:59:27 +01:00
2016-10-17 19:44:35 +02:00
2016-02-03 14:22:55 +01:00
2016-06-13 21:21:51 +02:00
2015-02-28 23:12:30 +01:00
2006-06-29 18:54:54 +02:00
2016-11-09 22:57:01 +01:00
2016-11-08 18:47:25 +01:00