Re: Setting logfile location with pg_ctl and postgres.conf

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Frank Joerdens <frank(at)joerdens(dot)de>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Setting logfile location with pg_ctl and postgres.conf
Date: 2001-01-27 23:33:49
Message-ID: Pine.LNX.4.30.0101280031290.1492-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Frank Joerdens writes:

> I don't see how you can set the log file to something like
>
> /usr/db/pgsql/log/postgresql_db.log

> That I've only managed to do like:
>
> /usr/db/pgsql/bin/postmaster -i -d 2 -B 2048 -N 256 -o '-F -S 8192'\
> >>/usr/db/log/postgresql_db.log 2>&1 &

This is how to do it.

> BTW: How do you see runtime options passed to the postmaster via the
> config file?

Look into the config file. If you're interested in a particular option,
use the SHOW command.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Frank Joerdens 2001-01-27 23:39:08 Re: Setting logfile location with pg_ctl and postgres.conf
Previous Message Martin Leja 2001-01-27 23:13:06 someone please explain this regex behaviour