mirror of
https://github.com/monero-project/monero.git
synced 2025-12-23 07:29:11 -08:00
rpc: fix daemon mixed style set_log 2,category:level
This commit is contained in:
@@ -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)
|
||||
{
|
||||
mlog_set_categories(req.categories.c_str());
|
||||
mlog_set_log(req.categories.c_str());
|
||||
res.status = CORE_RPC_STATUS_OK;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user