nic-chen commented on pull request #2036:
URL: https://github.com/apache/apisix/pull/2036#issuecomment-693018270


   > Currently the log produced by lua-resty-etcd would show message without 
base64 decode. For example
   > 
   > ```
   > 
   > 2020/09/15 23:18:52 [info] 1964#1964: *2 [lua] v3.lua:284: set(): v3 set 
body: 
{"prev_kv":{"value":"InRlc3RfdmFsdWUi","create_revision":"149","mod_revision":"150","key":"L2FwaXNpeC90ZXN0X2tleQ==","version":"2"},"header":{"raft_term":"2","cluster_id":"8925027824743593106","member_id":"13803658152347727308","revision":"151"}},
 client: 127.0.0.1, server: localhost, request: "GET /t HTTP/1.1", host: 
"localhost"
   > 
   > 2020/09/15 23:18:52 [info] 1964#1964: *15 [lua] v3.lua:500: 
request_chunk(): http request method: POST path: /v3/watch body: 
{"create_request":{"range_end":"L2FwaXNpeC91cHN0cmVhbXQ=","start_revision":151,"key":"L2FwaXNpeC91cHN0cmVhbXM="}}
 query: nil, context: ngx.timer
   > 
   > ```
   > 
   > Shall we do the decode on etcd side, or just remove these logs like v2 did?
   
   we could optimize it in another pr


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to