Re: [Firebird-devel] Parsing fbtrace.conf

2015-08-12 Thread Alex Peshkoff
On 07/28/2015 08:32 PM, Dmitry Yemanov wrote: > 28.07.2015 20:12, Paul Reeves wrote: >> Of course, there is another related question - what is the correct behaviour? >> I know a lot of config file parsers are written to parse to the end and >> whichever values are set last are the values used. For

Re: [Firebird-devel] Parsing fbtrace.conf

2015-07-28 Thread Dmitry Yemanov
28.07.2015 20:12, Paul Reeves wrote: > > Of course, there is another related question - what is the correct behaviour? > I know a lot of config file parsers are written to parse to the end and > whichever values are set last are the values used. For example postfix is > specifically designed to all

Re: [Firebird-devel] Parsing fbtrace.conf

2015-07-28 Thread Vlad Khorsun
28.07.2015 20:12, Paul Reeves wrote: > > I managed to accidentally create this pseudo config file today: > > > enabled false > blah blah > > > > enabled true > blah blah > > > and was very surprised to find no trace output for mydb. After a lot of head > scratching I finally worked it o

[Firebird-devel] Parsing fbtrace.conf

2015-07-28 Thread Paul Reeves
I managed to accidentally create this pseudo config file today:  enabled false  blah blah  enabled true  blah blah and was very surprised to find no trace output for mydb. After a lot of head scratching I finally worked it out. It looks as if the parser stops on the first match of mydb, r