From owner-freebsd-hackers Fri Feb 15 6:16:45 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.98.60]) by hub.freebsd.org (Postfix) with ESMTP id 98C6E37B417 for ; Fri, 15 Feb 2002 06:16:22 -0800 (PST) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.11.6/8.11.6) with ESMTP id g1FEGL037247 for ; Fri, 15 Feb 2002 15:16:21 +0100 (CET) (envelope-from kheuer@gwdg.de) X-Authentication-Warning: gwdu60.gwdg.de: kheuer owned process doing -bs Date: Fri, 15 Feb 2002 15:16:21 +0100 (CET) From: Konrad Heuer To: freebsd-hackers@freebsd.org Subject: lpd & filter stderr & log files Message-ID: <20020215145241.T36923-100000@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Unfortunately, some changes in the lpd code that happened last year (as far as I remember) are very disadvantageous for the operation of our (heavily loaded) printer server which is based on FreeBSD for years now. My input filter programs are designed to write useful debugging information to stderr while processing print jobs. Prior to the changes, we could observe the progress of print jobs by a `tail -f /var/log/lpd-err/queue_log_file'. Now, all information written by the filter programs to stderr gets catched by temporary log files the names of which are created randomly. After a print job has completed, the contents of the temporary file is appended to the queue log file. For our purposes, that's often too late. Why have these changes been made? And can the old behaviour be restored? We really would like to see what happens during printing a job (imagine a 300 mb postscript print job which may a lot of time to execute completely). I already looked a the source code, and probably I could change a lot by myself, but this seems to be a bad idea since the next cvs update will happen, of course. I don't know who is responsible for the lpd code in the FreeBSD developers team, so please forward this mail to him/her if he/she doesn't read freebsd-hackers. And please think about my request - the old behaviour helped us a lot. Best regards Konrad Heuer Personal Bookmarks: Gesellschaft f=FCr wissenschaftliche Datenverarbeitung mbH G=D6ttingen http://www.freebsd.org Am Fa=DFberg, D-37077 G=D6ttingen http://www.daemonnews.o= rg Deutschland (Germany) kheuer@gwdg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message