Mercurial > hg > nginx
comparison src/core/ngx_resolver.c @ 3763:beca53d6ab3c
decrease resolver errors level to error
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 27 Sep 2010 11:23:45 +0000 |
parents | ac33852faaac |
children | 159b58f9c0bd |
comparison
equal
deleted
inserted
replaced
3762:89002ac695e5 | 3763:beca53d6ab3c |
---|---|
136 r->resend_timeout = 5; | 136 r->resend_timeout = 5; |
137 r->expire = 30; | 137 r->expire = 30; |
138 r->valid = 300; | 138 r->valid = 300; |
139 | 139 |
140 r->log = &cf->cycle->new_log; | 140 r->log = &cf->cycle->new_log; |
141 r->log_level = NGX_LOG_ALERT; | 141 r->log_level = NGX_LOG_ERR; |
142 | 142 |
143 if (addr) { | 143 if (addr) { |
144 uc = ngx_calloc(sizeof(ngx_udp_connection_t), cf->log); | 144 uc = ngx_calloc(sizeof(ngx_udp_connection_t), cf->log); |
145 if (uc == NULL) { | 145 if (uc == NULL) { |
146 return NULL; | 146 return NULL; |