Sn0rt commented on issue #9327: URL: https://github.com/apache/apisix/issues/9327#issuecomment-1517154542
> > @bin-53 can you attache the error.log ? > > which file can found from apisix logs directory. > > The more certain thing is that this implementation does have the [problem](https://github.com/Kong/lua-resty-healthcheck/pull/57/files) of inaccurate interval. > > Thank your reply~ There is no error log output in this health interval check, and neither is my access log. Excuse me, which configuration do I need to modify? I can output a detailed error log or access log during the health check,thanks can you try this config ? ```diff diff --git a/conf/config-default.yaml b/conf/config-default.yaml index 4f97adc4..f2796416 100755 --- a/conf/config-default.yaml +++ b/conf/config-default.yaml @@ -136,7 +136,7 @@ nginx_config: # config for render the template to generate n # the "user" directive makes sense only if the master process runs with super-user privileges. # if you're not root user,the default is current user. error_log: logs/error.log - error_log_level: warn # warn,error + error_log_level: info # warn,error worker_processes: auto # if you want use multiple cores in container, you can inject the number of cpu as environment variable "APISIX_WORKER_PROCESSES" enable_cpu_affinity: false # disable CPU affinity by default, if APISIX is deployed on a physical machine, it can be enabled and work well. worker_rlimit_nofile: 20480 # the number of files a worker process can open, should be larger than worker_connections diff --git a/conf/debug.yaml b/conf/debug.yaml index 23c8d51a..268d744c 100644 --- a/conf/debug.yaml +++ b/conf/debug.yaml @@ -15,7 +15,7 @@ # limitations under the License. # basic: - enable: false + enable: true http_filter: enable: false # enable or disable this feature enable_header_name: X-APISIX-Dynamic-Debug # the header name of dynamic enable ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
