tzssangglass opened a new issue #2623:
URL: https://github.com/apache/apisix/issues/2623


   ### Issue description
   I pulled the latest code and found a persistent error level output in the 
logs/error.log
   
   ```
   2020/11/04 14:54:50 [error] 20481#20481: *28563 [lua] client.lua:92: 
reportServiceInstance(): Instance report fails, connection refused, context: 
ngx.timer
   2020/11/04 14:54:53 [error] 20481#20481: *28739 [lua] client.lua:92: 
reportServiceInstance(): Instance report fails, connection refused, context: 
ngx.timer
   2020/11/04 14:54:56 [error] 20481#20481: *28918 [lua] client.lua:92: 
reportServiceInstance(): Instance report fails, connection refused, context: 
ngx.timer
   ```
   
   I found this to be the code for the skywalking module, even though I did not 
configure the `skywalking` plugin
   
   The function call stack is as follows:
   `skywalking.lua#init()` --> `client.lua#startBackendTimer()` --> 
`client.lua#reportServiceInstance()`
   
   It may be necessary to verify that the user has configured the `skywalking` 
plugin during the `init` phase.
   
   ### Environment
   
   * apisix version (cmd: `apisix version`): lastest
   * OS: centos7
   
   ### Minimal test code / Steps to reproduce the issue
   just start apisix, then watch the error.log
   
   ### What's the actual result? (including assertion message & call stack if 
applicable)
   
   
   
   ### What's the expected result?
   Do not export any logs from the skywalking module without the skywalking 
plugin enabled.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to