liumoji opened a new issue #4911: URL: https://github.com/apache/apisix/issues/4911
### Issue description 创建一个使用jwt插件的consumer后,马上去创建jwt会报未找到consumer的404错误  因为apisix对应逻辑日志打印的覆盖度不足,因此在源代码上做了相关打印消息,如图  增加了错误码的区分,原来都是404,不太好定位 ### Environment - apisix version (cmd: `apisix version`): - OS (cmd: `uname -a`): - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`): - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API): - apisix-dashboard version, if have: - luarocks version, if the issue is about installation (cmd: `luarocks --version`): ### Steps to reproduce 1.先创建一个使用jwt插件的consumer 2.申请其对应的jwt 3.有概率会报无法获取consumer ### Actual result  创建consumer成功后,申请jwt报无法找到对应的consumer ### Error log ![Uploading image.png…]() ### Expected result 创建consumer成功后马上可以申请对应的jwt -- 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]
