From b81584ff2e00f462bc20585fc44fb10de2c7dd88 Mon Sep 17 00:00:00 2001 From: an-tao <20741618@qq.com> Date: Mon, 15 Oct 2018 16:13:45 +0800 Subject: [PATCH] Modify log output --- lib/src/HttpAppFrameworkImpl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/HttpAppFrameworkImpl.cc b/lib/src/HttpAppFrameworkImpl.cc index ae43bede..4fd57199 100755 --- a/lib/src/HttpAppFrameworkImpl.cc +++ b/lib/src/HttpAppFrameworkImpl.cc @@ -707,7 +707,7 @@ void HttpAppFrameworkImpl::onAsyncRequest(const HttpRequestPtr &req, const std:: transform(filetype.begin(), filetype.end(), filetype.begin(), tolower); if (_fileTypeSet.find(filetype) != _fileTypeSet.end()) { - LOG_INFO << "file query!"; + //LOG_INFO << "file query!"; std::string filePath = _rootPath + path; std::shared_ptr resp = std::make_shared(); //find cached response @@ -1059,7 +1059,7 @@ void HttpAppFrameworkImpl::onAsyncRequest(const HttpRequestPtr &req, const std:: void HttpAppFrameworkImpl::readSendFile(const std::string &filePath, const HttpRequestPtr &req, const HttpResponsePtr &resp) { std::ifstream infile(filePath, std::ifstream::binary); - LOG_INFO << "send http file:" << filePath; + LOG_TRACE << "send http file:" << filePath; if (!infile) {