$time_iso8601 is not set for invalid HTTP?

Maxim Dounin mdounin at mdounin.ru
Mon Dec 1 15:55:12 UTC 2014


Hello!

On Mon, Dec 01, 2014 at 08:23:53AM -0500, igorb wrote:

> >  avoid using such "timestamped log names" at all as this approach implies
> unneeded overhead on opening/closing files for each request.
> 
> I use open_log_file_cache to mitigate this. Are there still problems with
> that? I would prefer to keep things simple and avoid explicit log rotation.

While open_log_file_cache mitigates most of the overhead involved, 
this still implies constructing a log file name for each request, 
looking up this name in the cache and so on.  It's still better to 
use explicitly specified log file names.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list