Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
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.×