BUG #5741: syslog line length

Поиск
Список
Период
Сортировка
От heasley
Тема BUG #5741: syslog line length
Дата
Msg-id 201011021617.oA2GH8L6089397@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #5741: syslog line length  (Marc Cousin <cousinmarc@gmail.com>)
Re: BUG #5741: syslog line length  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      5741
Logged by:          heasley
Email address:      heas@shrubbery.net
PostgreSQL version: 8.4
Operating system:   solaris
Description:        syslog line length
Details:

* Max string length to send to syslog().  Note that this doesn't count the
 * sequence-number prefix we add, and of course it doesn't count the prefix
 * added by syslog itself.      On many implementations it seems that the
hard
 * limit is approximately 2K bytes including both those prefixes.
 */
#ifndef PG_SYSLOG_LIMIT
#define PG_SYSLOG_LIMIT 1024
#endif

solaris' syslogd limits the line length to 1024, with a
FQDN and it's silly "msg ID" quite a bit is dropped by
syslogd.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: index on function confuses drop table cascade on child
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: ecpg preprocessor regression in 9.0