mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
rpc: fix daemon mixed style set_log 2,category:level
This commit is contained in:
parent
28d0b11fde
commit
38a1b9c956
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ namespace cryptonote
|
||||||
//------------------------------------------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------------------------------------------
|
||||||
bool core_rpc_server::on_set_log_categories(const COMMAND_RPC_SET_LOG_CATEGORIES::request& req, COMMAND_RPC_SET_LOG_CATEGORIES::response& res)
|
bool core_rpc_server::on_set_log_categories(const COMMAND_RPC_SET_LOG_CATEGORIES::request& req, COMMAND_RPC_SET_LOG_CATEGORIES::response& res)
|
||||||
{
|
{
|
||||||
mlog_set_categories(req.categories.c_str());
|
mlog_set_log(req.categories.c_str());
|
||||||
res.status = CORE_RPC_STATUS_OK;
|
res.status = CORE_RPC_STATUS_OK;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue