Re: [DEBUG 1/2] misc: Allow selective disabling of debug conditionals

2021-10-21 Thread Daniel Kiper
On Tue, Oct 19, 2021 at 03:45:32PM -0500, Glenn Washburn wrote: > On Tue, 19 Oct 2021 21:10:27 +0200 > Michael Schierl wrote: > > > Hello, > > > > Am 19.10.2021 um 08:47 schrieb Glenn Washburn: > > > > > > Note, only the first occurance of the conditional is searched for to > > > determine if the

Re: [DEBUG 1/2] misc: Allow selective disabling of debug conditionals

2021-10-19 Thread Glenn Washburn
On Tue, 19 Oct 2021 21:10:27 +0200 Michael Schierl wrote: > > Hello, > > > Am 19.10.2021 um 08:47 schrieb Glenn Washburn: > > > > Note, only the first occurance of the conditional is searched for to > > determine if the conditional is enabled. So simply appending ",-conditional" > > to the $de

Re: [DEBUG 1/2] misc: Allow selective disabling of debug conditionals

2021-10-19 Thread Michael Schierl
Hello, Am 19.10.2021 um 08:47 schrieb Glenn Washburn: Note, only the first occurance of the conditional is searched for to determine if the conditional is enabled. So simply appending ",-conditional" to the $debug variable may not disable that conditional, if, for example, the conditional is

[DEBUG 1/2] misc: Allow selective disabling of debug conditionals

2021-10-18 Thread Glenn Washburn
Sometimes you know only know which debug logging conditionals you want to turn off, not necessarily all the ones you want enabled. This patch allows the debug string to contain conditionals in the $debug variable which are prefixed with a "-" to disable debug log messages for that conditional. This