Re: [PATCH 2/9] BUG/MINOR: log: Detect missing sampling ranges in config

2019-06-26 Thread Christopher Faulet
Le 23/06/2019 à 22:10, Tim Duesterhus a écrit : Consider a config like: global log 127.0.0.1:10001 sample :10 local0 No sampling ranges are given here, leading to NULL being passed as the first argument to qsort. This configuration does not make sense anyway, a log without ranges

Re: [PATCH 2/9] BUG/MINOR: log: Detect missing sampling ranges in config

2019-06-24 Thread Frederic Lecaille
On 6/24/19 11:01 AM, Frederic Lecaille wrote: Hi Tim, On 6/23/19 10:10 PM, Tim Duesterhus wrote: Consider a config like: global log 127.0.0.1:10001 sample :10 local0 No sampling ranges are given here, leading to NULL being passed as the first argument to qsort. This

Re: [PATCH 2/9] BUG/MINOR: log: Detect missing sampling ranges in config

2019-06-24 Thread Frederic Lecaille
Hi Tim, On 6/23/19 10:10 PM, Tim Duesterhus wrote: Consider a config like: global log 127.0.0.1:10001 sample :10 local0 No sampling ranges are given here, leading to NULL being passed as the first argument to qsort. This configuration does not make sense anyway, a log without