Re: Log files, how to rotate properly

Поиск
Список
Период
Сортировка
От Lamar Owen
Тема Re: Log files, how to rotate properly
Дата
Msg-id 01061315533904.00942@lowen.wgcr.org
обсуждение исходный текст
Ответ на Log files, how to rotate properly  ("Dave Cramer" <Dave@micro-automation.net>)
Ответы Re: Log files, how to rotate properly  (Martín Marqués <martin@bugs.unl.edu.ar>)
Re: Log files, how to rotate properly  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
On Wednesday 13 June 2001 13:20, Dave Cramer wrote:
> The interesting thing is that if I redirect the output of postmaster, then
> every connection has this file open.

> Is there a way to tell postgres to release the log file, or am I completely
> off base here?

Use syslog.  Syslog has many advantages:
1.)    Easily rollable.
2.)    Redirectable to various files and/or remote machines -- including
hardcopy, and including multiple files at once (splitting).
3.)    PostgreSQL 7.1 has excellent syslog support.
4.)    You don't have to shut anything down to roll the logs.
5.)    Thanks to item 2, you could have a single syslog machine accept the
syslog output of multiple PostgreSQL servers, integrating the log into one,
if you wish.

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

В списке pgsql-general по дате отправления:

Предыдущее
От: Shaun Thomas
Дата:
Сообщение: Re: Oracle news article
Следующее
От: Alex Pilosov
Дата:
Сообщение: Re: Oracle news article