[fix] log level change. compilation: dns, tests

old unbound #warning does not block compilation
unit tests build fine. Even though the RPC/P2P network type is required again
This commit is contained in:
rfree2monero 2015-04-10 16:13:57 +02:00 committed by rfree2
parent 277a207b2f
commit 32c19c6c3d
No known key found for this signature in database
GPG key ID: D2AD548062A8E558
9 changed files with 17 additions and 8 deletions

View file

@ -392,6 +392,8 @@ namespace cryptonote
else
{
epee::log_space::log_singletone::get_set_log_detalisation_level(true, req.level);
int otshell_utils_log_level = 100 - (req.level * 20);
gCurrentLogger.setDebugLevel(otshell_utils_log_level);
res.status = CORE_RPC_STATUS_OK;
}
return true;