log - add LOG_LEVEL variable

This commit is contained in:
florian
2021-05-18 21:51:13 +02:00
parent 73543f4b0e
commit 96db3a450d
5 changed files with 11 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ http {
# write logs to local syslog
log_format logf '%LOG_FORMAT%';
access_log /var/log/access.log logf;
error_log /var/log/error.log info;
error_log /var/log/error.log %LOG_LEVEL%;
# temp paths
proxy_temp_path /tmp/proxy_temp;