httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <>
Subject RE: [PATCH] Apache 1.3 built in log rotation...
Date Wed, 27 Feb 2002 22:28:25 GMT

> Like I mentioned before, on NetWare we can't use a piped log because
> NetWare OS doesn't support pipes.  A cron job is also a problem
> we don't have that either.  Since Apache created the log file, writes
> the log file, formats the output and closes the log file, is it that
> of a leap to have it rotate the log file as well?

It always has been in the past.  The thing is that the web server should
be serving pages, not mucking with log files.  The other thing is that
rotation is going to need to be different on different platforms.  How
does Windows handle it if you try to rotate a log file in the middle of
writing to the log.  There is definitely a race condition there, where
you are writing a message in one thread, and another thread moves the
file out of the way?

I really think that if NetWare can't use the current mod_log_config then
I think you need to write a NetWare specific logging module.


View raw message