From 4d9950d3bc72d92a0ee9a33ab3b77e097eb77354 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Mon, 10 Apr 2017 10:27:36 -0400 Subject: Set BCLog::LIBEVENT correctly for old libevent versions. --- src/httpserver.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/httpserver.h') diff --git a/src/httpserver.h b/src/httpserver.h index b55b253be..6be995068 100644 --- a/src/httpserver.h +++ b/src/httpserver.h @@ -32,6 +32,10 @@ void InterruptHTTPServer(); /** Stop HTTP server */ void StopHTTPServer(); +/** Change logging level for libevent. Removes BCLog::LIBEVENT from logCategories if + * libevent doesn't support debug logging.*/ +bool UpdateHTTPServerLogging(bool enable); + /** Handler for requests to a certain HTTP path */ typedef std::function HTTPRequestHandler; /** Register handler for prefix. -- cgit v1.2.3