X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 590D53A50E5 for ; Sun, 23 Jan 2005 03:09:11 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 43097-09 for ; Sun, 23 Jan 2005 03:09:03 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 1A2513A507A for ; Sun, 23 Jan 2005 03:09:06 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j0N395xl026403; Sat, 22 Jan 2005 22:09:06 -0500 (EST) To: Pallav Kalva Cc: pgsql-admin@postgresql.org Subject: Re: Postgres 8.0 Log Configuration In-reply-to: <41F12A9D.6050706@deg.cc> References: <41F12A9D.6050706@deg.cc> Comments: In-reply-to Pallav Kalva message dated "Fri, 21 Jan 2005 11:15:25 -0500" Date: Sat, 22 Jan 2005 22:09:05 -0500 Message-ID: <26402.1106449745@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/237 X-Sequence-Number: 16096 Pallav Kalva writes: > But still whenever i start my postgres server some of the messages > are not logged into the specified logfile name in the postgresq.conf > file and it is printing the log messages on the command line like this : > $ pg_ctl restart -m f -D /var/lib/pgsql/data -o "-p 5432" > waiting for postmaster to shut down....2005-01-21 10:37:13 EST%% LOG: > logger shutting down > done > postmaster stopped > postmaster starting > $ 2005-01-21 10:37:15 EST%% LOG: could not create IPv6 socket: Address > family not supported by protocol There are some messages that can get printed before redirect_stderr has taken effect; in particular anything associated with problems in postgresql.conf is likely to be so printed. Also messages burped out by the stderr redirection process come out that way (the "logger shutting down" for instance). So you still really have to have a small log file that exists to catch startup messages. I'd suggest continuing to use "-l pgstartup.log" or some such. regards, tom lane