emqx
emqx copied to clipboard
fix(coap): debug log format
Using this command, the log output screenshot is as follows. The uri_query
printout is incorrect.
coap-client -m post -e "" "coap://127.0.0.1/mqtt/connection?clientid=0622ff402c06010122ff&username=admin&password=public"
Summary
🤖[deprecated] Generated by Copilot at eec005a
Optimize CoAP gateway performance and memory by using ~0p
modifier in format
function of emqx_coap_frame.erl
PR Checklist
Please convert it to a draft if any of the following conditions are not met. Reviewers may skip over until all the items are checked:
- [ ] Added tests for the changes
- [ ] Added property-based tests for code which performs user input validation
- [ ] Changed lines covered in coverage report
- [ ] Change log has been added to
changes/(ce|ee)/(feat|perf|fix|breaking)-<PR-id>.en.md
files - [ ] For internal contributor: there is a jira ticket to track this change
- [ ] Created PR to emqx-docs if documentation update is required, or link to a follow-up jira ticket
- [ ] Schema changes are backward compatible
Checklist for CI (.github/workflows) changes
- [ ] If changed package build workflow, pass this action (manual trigger)
- [ ] Change log has been added to
changes/
dir for user-facing artifacts update
ping @HJianBo