Re: log behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Logrotate does this and you can find the logrotate script for cups under /etc/logrotate.d/cups You'll have to read logrotates man page to get a better idea on how to control it. Or you could just remove the cups script and then logrotate won't touch it anymore.

Romeo


On Aug 31, 2006, at 5:49 PM, cleger@xxxxxxxxxxxxxxx wrote:

Hello list,

I was wondering about how to do the following, if someone knows right off the top of their head, or off the top of their head know where I will find the
answer to this specific question:

I wish to prevent certain logs (specifically, for now, /var/log/ cups/page_log) from being moved or deleted. This is so that, whenever I feel like it, I can have a look at printing activity that has taken place, without having to anticipate a daemon's removal of the logs. I want to be able to just look at the logs when I wish, and to remove the logs manually if the need arises. What
should I do?

Thank you very much,

Christian Leger

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux