Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2002 15:16:21 +0100 (CET)
From:      Konrad Heuer <kheuer@gwdg.de>
To:        freebsd-hackers@freebsd.org
Subject:   lpd & filter stderr & log files
Message-ID:  <20020215145241.T36923-100000@gwdu60.gwdg.de>

next in thread | raw e-mail | index | archive | help

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




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