From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pallav Kalva <pkalva@deg.cc>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres 8.0 Log Configuration
Date: Sat, 22 Jan 2005 22:09:05 -0500
Message-ID: <26402.1106449745@sss.pgh.pa.us> (raw)
In-Reply-To: <41F12A9D.6050706@deg.cc>
References: <41F12A9D.6050706@deg.cc>
Pallav Kalva <pkalva@deg.cc> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, pkalva@deg.cc
Subject: Re: Postgres 8.0 Log Configuration
In-Reply-To: <26402.1106449745@sss.pgh.pa.us>
References: <41F12A9D.6050706@deg.cc> <26402.1106449745@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox