Disable logging of libevent debug messages (#2794)
This still keeps the "libevent" logging category in place, but it now only logs >= EVENT_LOG_WARN severity.
This commit is contained in:
parent
9a1362abdf
commit
a1e4ac21fd
@ -371,8 +371,9 @@ static void libevent_log_cb(int severity, const char *msg)
|
||||
#endif
|
||||
if (severity >= EVENT_LOG_WARN) // Log warn messages and higher without debug category
|
||||
LogPrintf("libevent: %s\n", msg);
|
||||
else
|
||||
LogPrint("libevent", "libevent: %s\n", msg);
|
||||
// The below code causes log spam on Travis and the output of these logs has never been of any use so far
|
||||
//else
|
||||
// LogPrint("libevent", "libevent: %s\n", msg);
|
||||
}
|
||||
|
||||
bool InitHTTPServer()
|
||||
|
Loading…
Reference in New Issue
Block a user