WebApi调试日志恢复为Debug级别

This commit is contained in:
xia-chu 2023-07-02 12:45:07 +08:00
parent 59c961a6df
commit 6b9889a883

View File

@ -247,7 +247,7 @@ static inline void addHttpListener(){
size = body->remainSize(); size = body->remainSize();
} }
LogContextCapture log(getLogger(), toolkit::LTrace, __FILE__, "http api debug", __LINE__); LogContextCapture log(getLogger(), toolkit::LDebug, __FILE__, "http api debug", __LINE__);
log << "\r\n# request:\r\n" << parser.method() << " " << parser.fullUrl() << "\r\n"; log << "\r\n# request:\r\n" << parser.method() << " " << parser.fullUrl() << "\r\n";
log << "# header:\r\n"; log << "# header:\r\n";