Question about Error logs

Francis Daly francis at daoine.org
Thu Nov 3 18:40:49 UTC 2016


On Wed, Nov 02, 2016 at 08:49:52AM -0400, pkjchate wrote:

Hi there,

> Is there any setting I can do, so that Nginx only logs 1 error in same file
> only once in the file.

I think "no", using just configuration.

> The problem is I am getting a lot of same errors and the file gets large in
> size quickly.

I'd probably either try to fix the problem that leads to the errors;
or post-process the file to eliminate the duplicates and only store the
processed version.

But neither of those is a direct answer to your question.

Cheers,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list