From: | The Hermit Hacker <scrappy(at)hub(dot)org> |
---|---|
To: | David Gould <dg(at)illustra(dot)com> |
Cc: | miker(at)scifair(dot)acadiau(dot)ca, hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Suggestions |
Date: | 1998-05-04 19:18:15 |
Message-ID: | Pine.NEB.3.95.980504151737.17558V-100000@hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, 4 May 1998, David Gould wrote:
> > On Sun, 3 May 1998, Michael Richards 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
> >
> > b) is the preferred way of doing it...it should just be a matter
> > of adding it to backend/utils/elog.c ...
> >
>
> One problem might be that postgres can write _a_ _lot_ of messages to
> the log and I would not want to fill my /var/log partition with them as
> this would interfere with other logging.
Use syslog.conf to redirect to a different file on a different
partition...benefit to using syslog is that you can rotate the log files
wihtout having to restart the postmaster ...
From | Date | Subject | |
---|---|---|---|
Next Message | David Gould | 1998-05-04 19:31:42 | Re: [HACKERS] Re: SIGPIPE gripe |
Previous Message | David Gould | 1998-05-04 19:05:41 | Re: [HACKERS] Suggestions |