[cups.general] page_log history
Olaf Meeuwissen
olaf.meeuwissen at avasys.jp
Fri Sep 28 01:26:47 PDT 2007
Maelvon <maelvon.hawk at laposte.net> writes:
> Michael Sweet a écrit :
>> Maelvon wrote:
>>> Hello,
>>>
>>> I have cups, and it seems it keep in var/log/cups/page_log etc only
>>> one month of printed jobs ! I've think it keep more than one month in
>>> the logs. I've installed it in june, and have only the september jobs
>>> in the logs... How can I configure the log history length ?
>>>
>>> ---------------------
>>> # ls -s -h
>>> total 4,9M
>>> 104K access_log 4,0K cupsd 968K error_log.3 16K page_log.3
>>> 48K access_log.1 4,0K cups-lpd 968K error_log.4 8,0K page_log.4
>>> 24K access_log.2 1,2M error_log 16K page_log
>>> 36K access_log.3 900K error_log.1 12K page_log.1
>>> 80K access_log.4 656K error_log.2 12K page_log.2
>>> ---------------------
>>
>> Your Linux distro uses logrotated to rotate the CUPS logs. You'll
>> need to disable that to keep the logs around.
>>
>
> So I've lost all the print history since june... Arrgg
> I disable the logrotate in my distro conf (SME_server) or in the cups.conf ?
Have you checked the page_log.* files?
You should disable the logrotate. The configuration is most likely in
/etc/logrotate.d/cups.
Hope this helps,
--
Olaf Meeuwissen FLOSS Engineer -- EPSON AVASYS Corporation
FSF Associate Member #1962 sign up at http://member.fsf.org/
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97 976A 16C7 F27D 6BE3 7D90
Penguin's lib! -- I hack, therefore I am -- LPIC-2
More information about the cups
mailing list