Skip to content

Commit

Permalink
Merge pull request #4151 from stellar/trace-fixes
Browse files Browse the repository at this point in the history
Correctly deinit logging before reinit when changed on the fly

Reviewed-by: MonsieurNicolas
  • Loading branch information
latobarita authored Jan 20, 2024
2 parents 92ddf1e + 571083c commit ebd0c4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/Logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ Logging::setLogLevel(LogLevel level, const char* partition)
mPartitionLogLevels.clear();
}
#if defined(USE_SPDLOG)
deinit();
init();
auto slev = convert_loglevel(level);
if (partition)
Expand Down

0 comments on commit ebd0c4e

Please sign in to comment.