Re: more contrib: log rotator

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: more contrib: log rotator
Дата
Msg-id Pine.LNX.4.33.0304040914080.21974-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: more contrib: log rotator  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: more contrib: log rotator
Re: more contrib: log rotator
Список pgsql-hackers
On Fri, 4 Apr 2003, Peter Eisentraut wrote:

> Andrew Sullivan writes:
> 
> > Is anyone interested in having pglog-rotator?
> 
> What would get me a whole lot more excited is if the server could write
> directly to a file and do its own rotating (or at least reopening of
> files).
> 
> Considering that your rotator is tailored to a rather specific setup, it
> doesn't do anything better compared to established ones, it prevents the
> use of pg_ctl, it's written in Perl, and it doesn't do anything for
> Windows users, I think it's not suitable for a general audience.

That said, a log rotation capability built right into pg_ctl or 
thereabouts would be a very nice feature.  I.e. 'pg_ctl -r 86400 -l 
$PGDATA/logs/pgsql start'

where -r is the rotation period in seconds.  If it's an external program 
that pg_ctl calls that's fine, and it could even just be a carbon copy of 
apache's log rotater if their license is compatible (isn't it?)



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: [PERFORM] OSS database needed for testing
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: more contrib: log rotator