creation/delete of error_log

Michael Sweet mike at easysw.com
Fri Dec 24 09:49:35 PST 2004


kazroh wrote:
> Hi,
> 
> When I delete the acces_log and error_log files, it seems that only
> the acces_log file is recreated automatically (without restarting
> cups).
> 
> is this the normal behaviour? 'cuz I would like to delete the
> error_log file at the beginning of each day, and read out a newly
> created error log file at the end of the day (without restartin
> cups).

It is normal behavior - as long as the log files are opened by
cupsd, the new log messages will go to the deleted files.  You
are probably just "lucky" in that the access_log file gets rotated
by cupsd and it opens a new access_log file.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list