Re: expanding on syslog help

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: expanding on syslog help
Дата
Msg-id 16834.1064903129@sss.pgh.pa.us
обсуждение исходный текст
Ответ на expanding on syslog help  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> Would there be objections to me expanding on the syslog 
> sections in the docs?

No, but ...

> # Log all 'postgres' events to /var/log/pgsql
> !postgres
> *.*                                             /var/log/pgsql
> # Nothing after this line applies to 'postgres'
> !-postgres
> "

This example seems not portable in the least; AFAICT neither syntax that
you show is accepted by HPUX's syslogd, for example.

> * Mention that you might want to turn log_pid and log_timestamp off 
> since syslog logs them anyway

Check.

> * Mention something about system log rotator?  Or is that too 
> platform-specific?

I think it's reasonable to suggest that syslogd might not solve the
problem all by itself.  Dunno if we can give better advice than "read
your local syslogd man page".
        regards, tom lane


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)
Следующее
От: Gaetano Mendola
Дата:
Сообщение: Re: expanding on syslog help