Commit 80865b65 authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

Client no longer checks for logging file for debugging.

This is handled elsewhere (client front-end), the client should not debug if
debugging is off, regardless of whether logging to a file or not.
parent 125b8dba
......@@ -97,8 +97,7 @@ static const fs::path OUINET_CA_DH_FILE = "ssl-ca-dh.pem";
static const auto rx_icase = boost::regex::normal | boost::regex::icase;
static bool log_transactions() {
return logger.get_threshold() <= DEBUG
|| logger.get_log_file() != nullptr;
return logger.get_threshold() <= DEBUG;
}
//------------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment