diff --git a/loraprs_service.cpp b/loraprs_service.cpp index 0a8d64e..7779c0f 100644 --- a/loraprs_service.cpp +++ b/loraprs_service.cpp @@ -39,6 +39,8 @@ void Service::setup(const Config &conf) // disable logging when USB is used for data transfer if (config_.UsbSerialEnable) { + LOG_SET_LEVEL(DebugLogLevel::LVL_NONE); + } else { LOG_SET_LEVEL(config_.LogLevel); }