logging – Nginx access_log format “timing”?
I’m using a config snippet to setup a reverse proxy with nginx version: nginx/1.14.1 – it has “timing” specified as access_log’s format – that causes an error.
## Application specific logs
access_log /var/log/nginx/yourdomain.com-access.log timing;
error_log /var/log/nginx/yourdomain.com-error.log;
Here’s what nginx -t says:
nginx: [emerg] unknown log format "timing" in /etc/nginx/conf.d/virtual.conf:27
nginx: configuration file /etc/nginx/nginx.conf test failed
Might this be a feature of a newer nginx or the Plus version? Or does “timing” need to be defined somewhere?
Read more here: Source link