CORE: changed log level to debug for commandline handling

master
Martin Gerhardy 2018-05-22 14:09:29 +02:00
parent 06370d3827
commit 788fab9c0b
1 changed files with 3 additions and 3 deletions

View File

@ -36,14 +36,14 @@ int executeCommands(const std::string& _commandLine) {
}
const core::VarPtr& c = core::Var::get(cmd);
if (!c) {
Log::info("unknown command: %s", cmd.c_str());
Log::debug("unknown command: %s", cmd.c_str());
n = -1;
} else {
if (tokens.empty()) {
if (c->strVal().empty()) {
Log::info("%s: no value set", cmd.c_str());
Log::debug("var: %s: no value set", cmd.c_str());
} else {
Log::info("%s: %s", cmd.c_str(), c->strVal().c_str());
Log::debug("var: %s: %s", cmd.c_str(), c->strVal().c_str());
}
} else {
c->setVal(core::string::eraseAllSpaces(tokens[0]));