提交 4ffe488c authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Make default logLevel be "error" instead of "debug"

worker fuzzer and tests: use LogLevel::LOG_NONE
上级 a393689e
......@@ -20,7 +20,7 @@ int init()
{
std::string loggerId = "fuzzer";
Settings::configuration.logLevel = LogLevel::LOG_DEBUG;
Settings::configuration.logLevel = LogLevel::LOG_NONE;
Logger::Init(loggerId);
DepLibUV::ClassInit();
DepOpenSSL::ClassInit();
......
......@@ -28,7 +28,7 @@ public:
// Struct holding the configuration.
struct Configuration
{
LogLevel logLevel{ LogLevel::LOG_DEBUG }; // TODO: Should be LOG_ERROR IMHO.
LogLevel logLevel{ LogLevel::LOG_ERROR };
struct LogTags logTags;
std::string rtcIPv4;
std::string rtcIPv6;
......
......@@ -14,7 +14,7 @@ static void destroy();
int main(int argc, char* argv[])
{
Settings::configuration.logLevel = LogLevel::LOG_DEBUG;
Settings::configuration.logLevel = LogLevel::LOG_NONE;
std::string loggerId = "tests";
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论