From owner-freebsd-stable@FreeBSD.ORG Sun Jun 26 09:24:13 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 F1D5716A42B for ; Sun, 26 Jun 2005 09:24:12 +0000 (GMT) (envelope-from dwmalone@maths.tcd.ie) Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 024C543D1D for ; Sun, 26 Jun 2005 09:24:11 +0000 (GMT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie ([134.226.81.10] helo=maths.tcd.ie) by salmon.maths.tcd.ie with SMTP id ; 26 Jun 2005 10:24:10 +0100 (BST) To: Nikolay Pavlov In-reply-to: Your message of "Sun, 26 Jun 2005 12:16:49 +0300." <20050626091649.GA1919@zone3000.net> X-Request-Do: Date: Sun, 26 Jun 2005 10:24:10 +0100 From: David Malone Message-ID: <200506261024.aa51466@salmon.maths.tcd.ie> Cc: freebsd-stable@freebsd.org Subject: Re: syslogd: Logging subprocess ... exited with status 126 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 09:24:13 -0000 > It's not a simple log file, but FIFO and I thought that this should working. > If I misunderstood something is there any chance to send syslog output to FIFO > file or pipe, because the query-log from named that I'm going to handle is > very extensive. If I remember correctly, to send data to a FIFO, you can specify the FIFO as a regular file in /etc/syslogd.conf. However, you will have to be careful to make sure that there is a program reading the FIFO at all times, if you are to avoid syslogd getting confused. Instead of using a named FIFO, you can directly run your log handling program by using the pipe in syslogd.conf, so if your program to handle messages is in /usr/local/libexec/log_crunch.pl you can then use the "| /usr/local/libexec/log_crunch.pl" in syslogd.conf. David.