access_log_bypass_if 安装成功但是没生效,请问有没有什么日志自定义的功能
vcirk6k61#
@KouLemon You can use the following method example.
map $status $log_enable { ~^[23] 0; default 1; } access_log /path/to/access.log combined if=$log_enable;
1条答案
按热度按时间vcirk6k61#
@KouLemon You can use the following method example.