Suggestions

Michael Richards <miker@scifair.acadiau.ca>

From: Michael Richards <miker@scifair.acadiau.ca>
To: hackers@postgresql.org
Date: 1998-05-04T00:31:23Z
Lists: 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