[Pgpool-general] new log messages in 2.2

Łukasz Jagiełło lukasz.jagiello at gforces.pl
Sat Mar 7 00:01:36 UTC 2009


2009/3/7 Tatsuo Ishii <ishii at sraoss.co.jp>:
>> > We are getting several hundred of this type of message when using the new
>> > 2.2
>> >
>> > log_connections = false
>> > log_statements = false
>> >
>> > Mar  3 20:48:48 pgpool1-2 pgpool: 2009-03-03 20:48:48 LOG:   pid 1260:
>> > read_kind_from_backend: parameter name: DateStyle value: ISO, MDY
>>
>> I started seeing these after a patch to the last release candidate of
>> version 2.2, when Tatsuo addressed the reloading-cutting-connections
>> problem.
>
> I seems logging in 2.2 to be too aggressive. I will make the message
> level down to DEBUG rather than LOG for upcoming release.

Quick patch:

#v+
--- pool_process_query.c	2009-02-24 02:20:40.000000000 +0000
+++ pool_process_query.c.new	2009-03-06 23:56:29.000000000 +0000
@@ -3465,7 +3465,7 @@
 					pool_error("read_kind_from_backend: failed to read parameter
status packet from %d th backend", i);
 				}
 				value = p + strlen(p) + 1;
-				pool_log("read_kind_from_backend: parameter name: %s value: %s", p, value);
+				pool_debug("read_kind_from_backend: parameter name: %s value:
%s", p, value);
 			} while (kind == 'S');

 			kind_list[i] = kind;
#v-

-- 
Łukasz Jagiełło
G-Forces Web Management Polska

T: +44 (0) 845 055 9040
F: +44 (0) 845 055 9038
E: lukasz.jagiello at gforces.pl
W: www.gforces.co.uk

This e-mail is confidential and intended solely for the use of the
individual to whom it is addressed. If you are not the intended
recipient, please notify the sender immediately. Do not disclose the
contents of this e-mail to any other person, use it for any purpose,
print, copy, store, or distribute it. This e-mail should then be
destroyed. Any views expressed in this message are those of the
individual sender except where the sender specifically states them to
be the views of G-Forces Web Management Ltd. Registered Office: 4 & 5
Kings Row, Armstrong Road, Maidstone, Kent. ME15 6AQ. Registered
Company No. 3863609. VAT Registration No. 7250 384 50


More information about the Pgpool-general mailing list