diff --git a/common/database/database_dump_service.cpp b/common/database/database_dump_service.cpp index 4d81ed663..8c0ad1c84 100644 --- a/common/database/database_dump_service.cpp +++ b/common/database/database_dump_service.cpp @@ -324,7 +324,9 @@ void DatabaseDumpService::DatabaseDump() } } - LogSys.LoadLogSettingsDefaults(); + if (!IsDumpOutputToConsole()) { + LogSys.LoadLogSettingsDefaults(); + } if (!pipe_file.empty()) { std::string file = fmt::format("{}.sql", GetDumpFileNameWithPath());