降低http api debug日志级别为Trace

This commit is contained in:
xiongziliang 2023-04-22 23:29:19 +08:00
parent 38ab3e0df4
commit f1037e3767

View File

@ -247,7 +247,7 @@ static inline void addHttpListener(){
size = body->remainSize(); size = body->remainSize();
} }
LogContextCapture log(getLogger(), LDebug, __FILE__, "http api debug", __LINE__); LogContextCapture log(getLogger(), toolkit::LTrace, __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";