Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is there any ways to close the check status error log #254

Closed
TreeZhiyuan opened this issue Jan 8, 2022 · 3 comments
Closed

is there any ways to close the check status error log #254

TreeZhiyuan opened this issue Jan 8, 2022 · 3 comments

Comments

@TreeZhiyuan
Copy link

I am using nginx-1.20.2 with modules ngx_upstream_jdomain and nginx_upstream_check_module. And the check module is checking the buffered upstreams which is deprecated just like the images below.

image

image

Considering the error log file is pretty huge in hours, I am wondering if i can close the error checking logs or how can I ignore the buffered upstreams from jdomain module.
thanks.

@yaoweibin
Copy link
Owner

yaoweibin commented Jan 9, 2022 via email

@TreeZhiyuan
Copy link
Author

Here is some pieces in nginx.conf

resolver 223.6.6.6 223.5.5.5 valid=30s ipv6=off;

upstream atp_survey_client {
server 127.0.0.1:28369 backup;
jdomain dxc.mynetgear.com port=10101 interval=10;
check interval=30000 rise=2 fall=3 timeout=3000 type=http;
}

location /ups_status {
check_status;
access_log off;
}

If any more detail info needed, pls let me know. thanks

@TreeZhiyuan
Copy link
Author

workaround with shell script clear error logs every 12 hours, and expecting this module can ignore the buffered upstream in the following updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants