Re: command

From: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
To: Florian Litot <flitot(at)besancon(dot)sema(dot)slb(dot)com>
Cc: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, shridhar_daithankar(at)persistent(dot)co(dot)in, pgsql-general(at)postgresql(dot)org
Subject: Re: command
Date: 2002-11-08 10:13:58
Message-ID: 15819.36454.261045.347779@kelvin.csl.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-general pgsql-hackers

Use syslog... It's documented on the website and in the
manual... Assuming you are running on Linux then adding/editing:

syslog = 1 # range 0-2
syslog_facility = 'LOCAL0'
syslog_ident = 'postgres'

to $PGDATA/postgresql.conf and:

local0.* /var/log/postgresql

to /etc/syslog.conf and then doing:

/etc/init.d/syslog restart
/etc/init.d/postgresql restart

should give you the log you're looking for at:

/var/log/postgresql

I'll leave it to you to translate this to your flavour of UNIX (or
Linux)...

Lee.

Florian Litot writes:
> yes it's good but can i have the date with each line?
> At 10:14 08/11/02, Shridhar Daithankar wrote:
> >On 8 Nov 2002 at 9:42, Florian Litot wrote:
> > > What is the command to launch a trace
> > > i try postmaster -i -D .... -d 10 >logfile
> > > but the file is create but nothing are in why?
> >Try postmaster -i -D .... -d 10 >logfile 2>&1

In response to

  • Re: command at 2002-11-08 10:03:56 from Florian Litot

Browse pgsql-cygwin by date

  From Date Subject
Next Message Shridhar Daithankar 2002-11-08 10:14:26 Re: command
Previous Message Florian Litot 2002-11-08 10:03:56 Re: command

Browse pgsql-general by date

  From Date Subject
Next Message Shridhar Daithankar 2002-11-08 10:14:26 Re: command
Previous Message Richard Huxton 2002-11-08 10:13:30 Re: OT: mailing list delays

Browse pgsql-hackers by date

  From Date Subject
Next Message Shridhar Daithankar 2002-11-08 10:14:26 Re: command
Previous Message Florian Litot 2002-11-08 10:03:56 Re: command