Re: Setting logfile location with pg_ctl and postgres.conf - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Setting logfile location with pg_ctl and postgres.conf
Date
Msg-id Pine.LNX.4.30.0101280031290.1492-100000@peter.localdomain
Whole thread Raw
In response to Setting logfile location with pg_ctl and postgres.conf  (Frank Joerdens <frank@joerdens.de>)
Responses Re: Setting logfile location with pg_ctl and postgres.conf
List 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@gmx.net       http://yi.org/peter-e/


pgsql-general by date:

Previous
From: Martin Leja
Date:
Subject: someone please explain this regex behaviour
Next
From: Frank Joerdens
Date:
Subject: Re: Setting logfile location with pg_ctl and postgres.conf