Обсуждение: Re: [HACKERS] Suggestions

Поиск
Список
Период
Сортировка

Re: [HACKERS] Suggestions

От
Andrew Martin
Дата:
> Hi.
> I have a suggestion. I would be interested in implementing it if ppl think
> it is a good idea.
>
> Why not have a default location where postgres writes its log files. The
> current way of doing it seems to be a little klunky.
> I have an either/or suggested fix.
> a) add a switch to specify where the info and the errors files go,
> /var/log/postgres/info and maybe /var/log/postgres/errors
>
> b) write all the stuff to syslog
>

Only if this is all optional (through runtime switches or whatever) so we
can make sure it doesn't need root intervention to get postgresql installed.

Andrew

----------------------------------------------------------------------------
Dr. Andrew C.R. Martin                             University College London
EMAIL: (Work) martin@biochem.ucl.ac.uk    (Home) andrew@stagleys.demon.co.uk
URL:   http://www.biochem.ucl.ac.uk/~martin
Tel:   (Work) +44(0)171 419 3890                    (Home) +44(0)1372 275775

Re: [HACKERS] Suggestions

От
The Hermit Hacker
Дата:
On Tue, 5 May 1998, Andrew Martin wrote:

> > Hi.
> > I have a suggestion. I would be interested in implementing it if ppl think
> > it is a good idea.
> >
> > Why not have a default location where postgres writes its log files. The
> > current way of doing it seems to be a little klunky.
> > I have an either/or suggested fix.
> > a) add a switch to specify where the info and the errors files go,
> > /var/log/postgres/info and maybe /var/log/postgres/errors
> >
> > b) write all the stuff to syslog
> >
>
> Only if this is all optional (through runtime switches or whatever) so we
> can make sure it doesn't need root intervention to get postgresql installed.

    using syslogd doesn't require root intervention...just have it
default to daemon.notice, which will go to the 'default' syslog files, and
let it be changeable via command line switched for 'level' and
'facility'...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org