pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: heasley <heas@shrubbery.net>
To: pgsql-bugs@postgresql.org
Subject: BUG #5741: syslog line length
Date: Tue, 2 Nov 2010 16:17:08 GMT
Message-ID: <201011021617.oA2GH8L6089397@wwwmaster.postgresql.org> (raw)


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.



view thread (9+ messages)  latest in thread

Message-ID: <201011021617.oA2GH8L6089397@wwwmaster.postgresql.org>
Permalink:  ../201011021617.oA2GH8L6089397@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201011021617.oA2GH8L6089397@wwwmaster.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: heas@shrubbery.net
  Subject: Re: BUG #5741: syslog line length
  In-Reply-To: <201011021617.oA2GH8L6089397@wwwmaster.postgresql.org>
  References: <201011021617.oA2GH8L6089397@wwwmaster.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox