diff options
Diffstat (limited to 'contrib/epee/include/console_handler.h')
-rw-r--r-- | contrib/epee/include/console_handler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/epee/include/console_handler.h b/contrib/epee/include/console_handler.h index 778679e75..65414a265 100644 --- a/contrib/epee/include/console_handler.h +++ b/contrib/epee/include/console_handler.h @@ -261,6 +261,7 @@ namespace epee continue_handle = false; break; } + string_tools::trim(command); LOG_PRINT_L2("Read command: " << command); if(0 == command.compare("exit") || 0 == command.compare("q")) @@ -281,7 +282,8 @@ namespace epee continue; } log_space::get_set_log_detalisation_level(true, n); - LOG_PRINT_L0("New log level set " << n); + std::cout << "New log level set " << n; + LOG_PRINT_L2("New log level set " << n); }else if (command.empty()) { continue; |