X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 804A9D1B8AD for ; Thu, 28 Aug 2003 16:36:13 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 48705-01 for ; Thu, 28 Aug 2003 13:35:42 -0300 (ADT) Received: from THOR.goeci.com (thor.goeci.com [66.28.220.99]) by svr1.postgresql.org (Postfix) with ESMTP id E1171D1B8A4 for ; Thu, 28 Aug 2003 13:35:40 -0300 (ADT) Received: by THOR.goeci.com with Internet Mail Service (5.5.2653.19) id ; Thu, 28 Aug 2003 12:35:40 -0400 Message-ID: <2D92FEBFD3BE1346A6C397223A8DD3FC0923C0@THOR.goeci.com> From: Murthy Kambhampaty To: pgsql-admin@postgresql.org Subject: Logging VACUUM activity in version 7.3 Date: Thu, 28 Aug 2003 12:35:38 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/338 X-Sequence-Number: 10058 Does version 7.3 provide a way to get VACUUM activity reports in the server log (postmaster's stderr) without having them show up in the client's stderr? In 7.2, running vacuum "quiet", i.e., /usr/local/pgsql/bin/vacuumdb -U postgres -q -a -z logged vacuum activity to the server log. e.g., "DEBUG: Pages 0: Changed 0, Empty 0; Tup 0: Vac 0, Keep 0, UnUsed 0. Total CPU 0.00s/0.00u sec elapsed 0.00 sec." without sending the information to psql's stderr or stdout In 7.3, running vacuum "quiet", i.e., /usr/local/pgsql/bin/vacuumdb -U postgres -q -a -z does not put VACUUM activity reports in the server log whereas running vacuum "verbose", i.e., /usr/local/pgsql/bin/vacuumdb -U postgres -v -a -z puts the vacuum activity in the logs, e.g.: INFO: Pages 0: Changed 0, Empty 0; Tup 0: Vac 0, Keep 0, UnUsed 0. Total CPU 0.00s/0.00u sec elapsed 0.00 sec. but it also sends these messages to the client's stderr I've modified postgresql.conf to include "server_min_messages = info" (assuming that the log prefix denotes the message level), while leaving client_min_messages at the default, but this doesn't reproduce the version 7.2 behavior. Help, Murthy