From owner-freebsd-stable Sat Oct 26 4:20:39 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA5ED37B401 for ; Sat, 26 Oct 2002 04:20:37 -0700 (PDT) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id E296E43E42 for ; Sat, 26 Oct 2002 04:20:36 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [IPv6:::1]) by lurza.secnetix.de (8.12.6/8.12.5) with ESMTP id g9QBKOin025815 for ; Sat, 26 Oct 2002 13:20:25 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.6/8.12.5/Submit) id g9QBKOXL025814; Sat, 26 Oct 2002 13:20:24 +0200 (CEST) Date: Sat, 26 Oct 2002 13:20:24 +0200 (CEST) Message-Id: <200210261120.g9QBKOXL025814@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG Reply-To: freebsd-stable@FreeBSD.ORG Subject: Re: increasing MAXLINE for syslog In-Reply-To: <3DBA4189.2629E3DC@grosbein.pp.ru> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.7-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Eugene Grosbein 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