kayx23 commented on issue #498:
URL: https://github.com/apache/apisix-docker/issues/498#issuecomment-1713469248

   The repetitive logging would only stop when a working configuration is 
present in `apisix.yaml` it seems.
   
   For example, it won't stop logging warning and errors with just the creation 
of the file:
   
   ```shell
   sudo docker exec apache-apisix bash -c "echo '#END' > 
/usr/local/apisix/conf/apisix.yaml"
   ```
   
   It would stop when a working config is present:
   
   ```shell
   docker exec -i apache-apisix sh -c 'cat > /usr/local/apisix/conf/apisix.yaml 
<<_EOC_
   routes:
     -
       id: httpbin
       uri: /*
       upstream:
         nodes:
           "httpbin.org": 1
         type: roundrobin
       plugin_config_id: 1
   
   plugin_configs:
     -
       id: 1
       plugins:
         response-rewrite:
           body: "Hello APISIX\n"
       desc: "response-rewrite"
   #END
   _EOC_'
   ```
   
   APISIX is usable, however, just with a very polluted log.
   
   Please evaluate if this is something to fix for. If not, feel free to close.
   
   


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

Reply via email to