Log categories can now be added to and removed from

Also, set_log without parameters now prints the log categories
This commit is contained in:
moneromooo-monero 2017-09-22 17:54:58 +01:00
parent 48f92eb665
commit 792ba4f0fe
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
8 changed files with 57 additions and 8 deletions

View file

@ -599,7 +599,7 @@ bool t_rpc_command_executor::set_log_categories(const std::string &categories) {
}
}
tools::success_msg_writer() << "Log categories are now " << categories;
tools::success_msg_writer() << "Log categories are now " << res.categories;
return true;
}