Re: [HACKERS] Suggestions
От | The Hermit Hacker |
---|---|
Тема | Re: [HACKERS] Suggestions |
Дата | |
Msg-id | Pine.NEB.3.95.980504151737.17558V-100000@hub.org обсуждение исходный текст |
Ответ на | Re: [HACKERS] Suggestions (dg@illustra.com (David Gould)) |
Список | 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 ...
В списке pgsql-hackers по дате отправления: