Logging updates.

This commit is contained in:
JoelKatz
2012-10-28 19:48:46 -07:00
parent 851d21a5aa
commit aa8211e60b
2 changed files with 6 additions and 4 deletions

View File

@@ -17,6 +17,8 @@
#include "Log.h"
#include "Version.h"
SETUP_LOG();
using namespace boost;
using namespace boost::asio;
@@ -69,7 +71,7 @@ std::string rfc1123Time()
std::string HTTPReply(int nStatus, const std::string& strMsg)
{
Log(lsTRACE) << "HTTP Reply " << nStatus << " " << strMsg;
cLog(lsTRACE) << "HTTP Reply " << nStatus << " " << strMsg;
if (nStatus == 401)
return strprintf("HTTP/1.0 401 Authorization Required\r\n"