I'm finding that something is truncating my accounting logs periodically,
and I don't want that to happen. Currently, without log rotation, the
logs seem to store about 5 days worth of data for our more heavily used
printers. I know that "checkpc" can truncate the logs. I reboot the
spoolers weekly, so a "truncate on lpd start" feature may be coming into
play. I didn't use any exotic options when I built lprng.
So, does anyone know:
-What's truncating the logs?
-How do I stop it?
FWIW, a sample bit of my printcap file:
.servercommon:
:sd=/var/spool/lpd/lprng/%P
:af=/var/spool/lpd/lprng/%P.log
:create_files=TRUE
:ar=TRUE
:mx=0
:lpd_bounce
:force_localhost@
:filter=/usr/local/libexec/filters/ifhp
:append_z=duplex
:remove_z=simplex
:ab
:bl=$P $h $n $J $t
:bp=/usr/local/libexec/filters/bannerpage.perl
baker-8000:client:[EMAIL PROTECTED]
baker-8000:
:server
:lp=baker-8000.bh.andrew.cmu.edu%9100
:ifhp=model=hp8000
:tc=.servercommon
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------