Search squid archive

access.log rename

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

 



Hi all,
My question is about rotating squid log files.
I should write a daemon that every 5 min reads access.log and updates a
database.
Now my question is does it may cause problem for rotating access.log?
Because my daemon has opened it and squid wants to rename it and I have seen
that renaming a file when another program is using it, is impossible.
If it causes problem what should I do in my program that both my program and
squid work?
should I use scripts?
What do scrips that rotate squid's log do? Do they stop squid? 

Thanks
-- 
View this message in context: http://www.nabble.com/access.log-rename-tp19343381p19343381.html
Sent from the Squid - Users mailing list archive at Nabble.com.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux