[edit] open_log_file_cache
| Syntax: |
open_log_file_cache max = N [ inactive = time ] [ min_uses = N ] [ valid = time ] open_log_file_cache off |
| Default: |
off |
| Context: |
http server location |
| Reference: |
open_log_file_cache |
The directive sets the cache, which stores file descriptors of frequently used logs with variable in path.
Directive options:
- max - maximal number of descriptors in the cache, with overflow Least Recently Used is removed (LRU);
- inactive - sets the time after which descriptor without hits during this time are removed; default is 10 seconds;
- min_uses - sets the minimum number of file usage within the time specified in parameter inactive, after which the file descriptor will be put in the cache; default is 1;
- valid - sets the time until it will be checked if file still exists under same name; default is 60 seconds;
- off - disables the cache.
Example:
[edit] References
Original Documentation
Module: HttpLogModule