[pgpool-hackers: 1583] Re: Unconditional debug statements

Muhammad Usama m.usama at gmail.com
Wed May 25 04:29:08 JST 2016


On Tue, May 24, 2016 at 8:33 PM, Muhammad Usama <m.usama at gmail.com> wrote:

>
>
> On Tue, May 24, 2016 at 7:40 PM, Tatsuo Ishii <ishii at postgresql.org>
> wrote:
>
>> Usama,
>>
>> I do not start pgpool with "-d" option. I thought any DEBUG message
>> should not appear in this case, no?
>>
>
> It can also be affected by the *log_min_messages* config parameter value
> in pgpool. conf.  It might have been set to some DEBUG3 or lower value
>

I have found the problem and pushed the fix for that. The reason was,
before the log_min_messages config parameter is initialized with an actual
configured value it is assigned 0, which effectively means 'print all the
messages'.

Thanks
Muhammad Usama

>
>
>
> Thanks
> Regards
> Muhammad Usama
>
>
>> Best regards,
>> --
>> Tatsuo Ishii
>> SRA OSS, Inc. Japan
>> English: http://www.sraoss.co.jp/index_en.php
>> Japanese:http://www.sraoss.co.jp
>>
>> > Hi Ishii-San
>> >
>> > All these are at log level DEBUG*3*. Do you want to remove these debug
>> > messages all together or, want to bring it down to DEBUG4 or DEBUG5?
>> >
>> > Regards
>> > Muhammad Usama
>> >
>> >
>> > On Tue, May 24, 2016 at 3:44 AM, Tatsuo Ishii <ishii at postgresql.org>
>> wrote:
>> >
>> >> Usama,
>> >>
>> >> I stary to see following unconditional debug statements in the pgpool
>> >> log.  Can you please fix it?
>> >>
>> >> DEBUG:  extracting string tokens from [nextval,setval] based on ,
>> >> DEBUG:  initializing pool configuration
>> >> DETAIL:  extracting string tokens [token[0]: nextval]
>> >> DEBUG:  initializing pool configuration
>> >> DETAIL:  extracting string tokens [token[1]: setval]
>> >> DEBUG:  initializing pool configuration
>> >> DETAIL:  adding regex pattern for "black_function_list" pattern:
>> ^nextval$
>> >> DEBUG:  initializing pool configuration
>> >> DETAIL:  adding regex pattern for "black_function_list" pattern:
>> ^setval$
>> >> DEBUG:  extracting string tokens from [ABORT;DISCARD ALL] based on ;
>> >> DEBUG:  initializing pool configuration
>> >> DETAIL:  extracting string tokens [token[0]: ABORT]
>> >> DEBUG:  initializing pool configuration
>> >> DETAIL:  extracting string tokens [token[1]: DISCARD ALL]
>> >>
>> >> Best regards,
>> >> --
>> >> Tatsuo Ishii
>> >> SRA OSS, Inc. Japan
>> >> English: http://www.sraoss.co.jp/index_en.php
>> >> Japanese:http://www.sraoss.co.jp
>> >> _______________________________________________
>> >> pgpool-hackers mailing list
>> >> pgpool-hackers at pgpool.net
>> >> http://www.pgpool.net/mailman/listinfo/pgpool-hackers
>> >>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-hackers/attachments/20160525/e3f1ec7a/attachment.html>


More information about the pgpool-hackers mailing list