Re: syslog configurable line splitting behavior
От | Alexander Korotkov |
---|---|
Тема | Re: syslog configurable line splitting behavior |
Дата | |
Msg-id | CAPpHfdvpUR6dYrXFm0Dj9ThW4_=rAQ3QafJzqDLmBsd82rrz8w@mail.gmail.com обсуждение исходный текст |
Ответ на | syslog configurable line splitting behavior (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: syslog configurable line splitting behavior
|
Список | pgsql-hackers |
On Sat, Feb 27, 2016 at 6:49 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
Writing log messages to syslog caters to ancient syslog implementations
in two ways:
- sequence numbers
- line splitting
While these are arguably reasonable defaults, I would like a way to turn
them off, because they get in the way of doing more interesting things
with syslog (e.g., logging somewhere that is not just a text file).
So I propose the two attached patches that introduce new configuration
Boolean parameters syslog_sequence_numbers and syslog_split_lines that
can toggle these behaviors.
Would it have any usage if we make PG_SYSLOG_LIMIT configurable (-1 for disable) instead of introducing boolean?
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
В списке pgsql-hackers по дате отправления: