Suggestions - Mailing list pgsql-hackers

From Michael Richards
Subject Suggestions
Date
Msg-id Pine.BSF.3.96.980503213104.27331C-100000@scifair.acadiau.ca
Whole thread Raw
Responses Re: [HACKERS] Suggestions
List pgsql-hackers
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

I like b better because it would allow remote logging. One could then use
the features of syslog to dump the stuff they want to know about to an
approprate log file. I believe this would also be more effective at making
sure messages get sent when the backend crashes. I have seen a few places
where the messages don't seem to get there because of buffering...

-Mike



pgsql-hackers by date:

Previous
From: Gautam Thaker
Date:
Subject: on patch for close_ps() func. in geo_ops.c
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] Suggestions