pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Yogvinder Singh <yogvinder@newgen.co.in>
Cc: pgsql-admin@postgresql.org
Subject: Re: Log file Query
Date: Tue, 13 Sep 2005 11:10:07 -0400
Message-ID: <23286.1126624207@sss.pgh.pa.us> (raw)
In-Reply-To: <011101c5b82e$bde82040$5605a8c0@ng3054>
References: <011101c5b82e$bde82040$5605a8c0@ng3054>

"Yogvinder Singh" <yogvinder@newgen.co.in> writes:
>             I am using postgres7.3 version. I am unable to find any log. =

In 7.3 your best bet is to log via syslog.  Set syslog to 2 in
postgresql.conf and adjust the other settings if needed, then make sure
your syslog daemon is configured to put the messages where you want
them.

What is probably happening right now is that the postmaster is set to
send log messages to stderr but the start script you are using is
redirecting postmaster stderr to /dev/null.  While you could modify
the start script, I don't recommend it for production purposes because
7.3 doesn't have any support for rotating log files that way.  syslog
is the only production-grade logging approach in that version.

			regards, tom lane



view thread (3+ messages)

Message-ID: <23286.1126624207@sss.pgh.pa.us>
Permalink:  ../23286.1126624207@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23286.1126624207@sss.pgh.pa.us

 · 

reply

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, yogvinder@newgen.co.in
  Subject: Re: Log file Query
  In-Reply-To: <23286.1126624207@sss.pgh.pa.us>
  References: <011101c5b82e$bde82040$5605a8c0@ng3054> <23286.1126624207@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