Re: OpenBSD startup - logfile?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Frank Bax <fbax(at)execulink(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: OpenBSD startup - logfile?
Date: 2000-10-17 15:49:54
Message-ID: 1172.971797794@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Frank Bax <fbax(at)execulink(dot)com> writes:
> I've got the following line in /etc/rc.local on my OpenBSD 2.6 system:
> /usr/local/bin/pgwrap -o /var/pgsql/log postmaster -i -S -o -F >>
> /var/pgsql/postmaster.log

> Postgres starts ok, and /var/pgsql/postmaster.log gets created, but it
> stays at size=0.

Remove -S switch.

Might be a good idea to redirect postmaster's stderr into the logfile,
as well as stdout.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Fabrice Pollet 2000-10-17 15:52:04 record new has no field cat
Previous Message Peter Eisentraut 2000-10-17 15:49:38 Re: Compiling JDBC Driver