On Tue, Oct 21, 2003 at 09:48:36AM -0700, Jim Trocki wrote:
> On Tue, 21 Oct 2003, William C Beegle wrote:
>
> > So, does anyone know:
> > -What's truncating the logs?
> > -How do I stop it?
>
> there are two printcap variables which control the accounting log
> trimming:
>
> max_accounting_file_size
> min_accounting_file_size
>
> set max_ to 0 to disable log trimming. otherwise, they behave just like
> the max/min_status_size options.
>
> (btw, these are "secret" options, i.e. not documented except for in the
> source code.)
>
>
> Jim Trocki <[EMAIL PROTECTED]>
> Computer System and Network Engineer
> Transmeta Corporation
> Santa Clara, CA
Version LPRng-3.8.23 - Wed Nov 12 13:32:02 PST 2003
Documented the max_accounting_file_size and min_accounting_file_size option
and changed the lpd.conf comment to indicate a 0 value disables truncation.
(Lack of documentation pointed out by: Jim Trocki <[EMAIL PROTECTED]>)
AND:
# Purpose: maximum accounting file size in Kbytes; 0 means no limit on size
# default max_accounting_file_size=1000 (INTEGER)
# Purpose: maximum interval between connection attempts
# default max_connect_interval=60 (INTEGER)
# Purpose: maximum number of datafiles
# default max_datafiles=52 (INTEGER)
# Purpose: maximum log file size in Kbytes; 0 means no limit on size
# default max_log_file_size=1000 (INTEGER)
# Purpose: maximum number of servers that can be active
# default max_servers_active=1024 (INTEGER)
# Purpose: maximum length of status line
# default max_status_line=79 (INTEGER)
# Purpose: maximum size (in K) of status file; 0 means no limit on size
# default max_status_size=10 (INTEGER)
--
Patrick Powell Astart Technologies
[EMAIL PROTECTED] 6741 Convoy Court
Network and System San Diego, CA 92111
Consulting 858-874-6543 FAX 858-751-2435
LPRng - Print Spooler (http://www.lprng.com)
-----------------------------------------------------------------------------
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.
-----------------------------------------------------------------------------