Troubleshooting when working on Linux OS🔗
Excessive logging in Nginx access.log🔗
In a text editor, open the Nginx configuration file:
sudo nano /etc/nginx/nginx.conf
Find the access_log directive, which by default may look like:
access_log /var/log/nginx/access.log;
Replace this line with:
access_log off;
Save the changes and exit the editor.
Restart Nginx.
sudo systemctl restart nginx.service