mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Improve Journal logging framework:
* Allow partition log levels to be adjusted * Cleanups
This commit is contained in:
committed by
Nik Bougalis
parent
488a44b88e
commit
23dc08c925
@@ -19,11 +19,6 @@
|
||||
|
||||
namespace ripple {
|
||||
|
||||
// Used for logging
|
||||
struct RPCLog;
|
||||
|
||||
SETUP_LOGN (RPCLog, "RPC")
|
||||
|
||||
unsigned int const gMaxHTTPHeaderSize = 0x02000000;
|
||||
|
||||
std::string gFormatStr ("v1");
|
||||
@@ -101,9 +96,9 @@ std::string getHTTPHeaderTimestamp ()
|
||||
|
||||
std::string HTTPReply (int nStatus, const std::string& strMsg)
|
||||
{
|
||||
if (ShouldLog (lsTRACE, RPCLog))
|
||||
if (ShouldLog (lsTRACE, RPC))
|
||||
{
|
||||
WriteLog (lsTRACE, RPCLog) << "HTTP Reply " << nStatus << " " << strMsg;
|
||||
WriteLog (lsTRACE, RPC) << "HTTP Reply " << nStatus << " " << strMsg;
|
||||
}
|
||||
|
||||
std::string ret;
|
||||
|
||||
Reference in New Issue
Block a user