A few days ago I found out (and should have been able to
predict --- I digress) why it is a bad idea to log to special files.
I attempted this with 1.1.3:
cache_access_log /dev/null
and on log rotation, the special file was pushed along to /dev/null.0
and a regular file /dev/null was created. Not good.
Suggestion is that log rotation be like this --
stat_result = stat (logfilename, &some_struct_stat);
if (S_ISREG(some_struct_stat.st_mode)==0) {
/* do not log rotate */
........
and also that this be permitted:
cache_access_log none
By the way, I'm quite pleased. For 60 MB disk and two days expiry,
we get a 30% hit rate, and this __before__ any professor has sent
undergraduates hunting for information.
Received on Tue Jan 14 1997 - 17:10:45 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:04 MST