Easily configure a performant, secure, and stable NGINX server.Learn More
Nginx error log settings to write each error only once
Is there any settings I can use to tell nginx to write same error only once in log file.
I have a high traffic site and when there is an error. because the same error is written for each request. the log file size gets too large too quickly.
Thanks for your advise.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×