Re: Postgres/Postmaster logging and log rotation

Поиск
Список
Период
Сортировка
От Lamar Owen
Тема Re: Postgres/Postmaster logging and log rotation
Дата
Msg-id 3AA66C44.7C646F87@wgcr.org
обсуждение исходный текст
Ответ на Re: Postgres/Postmaster logging and log rotation  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-admin
Peter Eisentraut wrote:
> William L James writes:
> > script - su -l postgresql -c "/usr/bin/pg_ctl -D $PGDATA -p
> > /usr/bin/postmaster start >>/var/log/postgresql 2>&1"), but
> > when the weekly logrotate.d function kicks in, Postgres logging
> > stops.

> The logging probably continues to go to the rotated-away file.  The
> typical log rotation cron job presumes that the daemons close the log

The logrotate.d script included in the RPM is intended for a
syslog-generated logfile.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Postgres/Postmaster logging and log rotation
Следующее
От: Jie Liang
Дата:
Сообщение: how to reload a function