Hi,
No, it is not possible to dynamically change the log level of 'error_log'.
However, you may care to have a look at the ngx.errlog[1] module, which,
assuming some tweaks in your monitoring infrastructure, can dynamically
change its filtering value of log levels, and let you achieve your end goal.
Best,
Thibault
[1]:
https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/errlog.md