-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在命令行使用easywechat如何关闭日志 #601
Comments
'level' => 'debug', // 改这里 |
改成 error |
已经改了,不知道为什么命令行上面还是有日志 |
@valitors 好,我看解决这个问题 |
Merged
never615
added a commit
to never615/wechat
that referenced
this issue
May 22, 2017
* 'master' of github.com:overtrue/wechat: Apply fixes from StyleCI (w7corp#706) Fix w7corp#601 (w7corp#705) Fix CS. add defaultColor
never615
added a commit
to never615/wechat
that referenced
this issue
May 22, 2017
* develop: Apply fixes from StyleCI (w7corp#706) Fix w7corp#601 (w7corp#705) Fix CS. add defaultColor Add docblocks. Fix (w7corp#702) Add api. (w7corp#700)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我使用laravel 队列 + easywechat 发送模板消息,我在配置数组中 将debug 关闭了,但还是会在命令行出现以下提示,并会记录到日志中。
[2017-03-02 08:46:30] EasyWeChat.DEBUG: Client Request: {"url":"https://api.weixin.qq.com/cgi-bin/message/template/send","method":"POST","options":{"curl":{"113":1},"query":[],"body":"{\"touser\":\"oc9gZv-r6pFMGMLP1srG3271xWPU\",\"template_id\":\"pSteXJ05NEofdMpAbIpUXul7d9q8ub-QevfSsLDqd6k\",\"url\":\"http:\\/\
/admin.test.com\/mass\/test","topcolor":"#FF0000","data":{"orderMoneySum":{"value":"10","color":"#173177"},"orderProductName":{"value":"10","color":"#173177"}}}","headers":{"content-type":"application/json"}}} []
[2017-03-02 08:46:30] EasyWeChat.DEBUG: Request: POST https://api.weixin.qq.com/cgi-bin/message/template/send {"curl":{"113":1},"handler":{},"synchronous":true,"allow_redirects":{"max":5,"protocols":["http","https"],"strict":false,"referer":false,"track_redirects":false},"http_errors":true,"decode_content":true
,"verify":true,"cookies":false} [] []
[2017-03-02 08:46:30] EasyWeChat.DEBUG: Request headers:{"Content-Length":["276"],"User-Agent":["GuzzleHttp/6.2.1 curl/7.49.1 PHP/7.0.9"],"Host":["api.weixin.qq.com"],"content-type":["application/json"]} [] []
[2017-03-02 08:46:31] EasyWeChat.DEBUG: API response: {"Status":200,"Reason":"OK","Headers":{"Connection":["keep-alive"],"Content-Type":["application/json; encoding=utf-8"],"Date":["Thu, 02 Mar 2017 08:46:32 GMT"],"Content-Length":["45"]},"Body":"{"errcode":0,"errmsg":"ok","msgid":423775628}"} []
[2017-03-02 08:46:31] EasyWeChat.DEBUG: API response decoded: {"contents":{"errcode":0,"errmsg":"ok","msgid":423775628}}
The text was updated successfully, but these errors were encountered: