Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2002 13:20:24 +0200 (CEST)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: increasing MAXLINE for syslog
Message-ID:  <200210261120.g9QBKOXL025814@lurza.secnetix.de>
In-Reply-To: <3DBA4189.2629E3DC@grosbein.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Eugene Grosbein <eugen@grosbein.pp.ru> wrote:
 > Andy Newman wrote:
 > > > I've rebuilt and reinstalled libc, syslogd and logger using 10Kb as limit,
 > > > then killed and restarted syslogd. logger still cannot log a message
 > > > longer than 1Kb. What else should be done?
 > > 
 > > Did you also resize the 1K buffer in logger.c?
 > 
 > Yes, I did.

Did you inrease the sizes of fmt_cpy[] _and_ tbuf[]
in src/lib/libc/gen/syslog.c:vsyslog() accordingly?

Incidentally, the file contains the following comment:
/*
 * stdio write hook for writing to a static string buffer
 * XXX: Maybe one day, dynamically allocate it so that the line length
 *      is `unlimited'.
 */

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210261120.g9QBKOXL025814>