log behavior

Romeo Theriault romeotheriault at gmail.com
Fri Sep 1 12:03:12 UTC 2006


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 at scs.carleton.ca 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 at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list