Tune a log message priority in redbean (#589)

This commit is contained in:
Paul Kulchenko 2022-09-04 07:43:06 -07:00 committed by GitHub
parent 6a04bc3318
commit b0287ef34c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -304,9 +304,9 @@ static int LuaFetch(lua_State *L) {
goto TransportError; goto TransportError;
} }
if (rc) { if (rc) {
WARNF("(ftch) content-length is %`'.*s", DEBUGF("(ftch) content-length is %`'.*s",
FetchHeaderLength(kHttpContentLength), FetchHeaderLength(kHttpContentLength),
FetchHeaderData(kHttpContentLength)); FetchHeaderData(kHttpContentLength));
hdrsize = rc; hdrsize = rc;
if (logmessages) { if (logmessages) {
LogMessage("received", inbuf.p, hdrsize); LogMessage("received", inbuf.p, hdrsize);