diff options
| author | 2025-06-02 12:50:51 +0100 | |
|---|---|---|
| committer | 2025-06-02 12:50:51 +0100 | |
| commit | 78ab89a05d7537d1f3dcc4cd3db6dda4ba0fc9f9 (patch) | |
| tree | d8c90f998e0b960121eb96419d8e7377b96695c2 /src/logging.cpp | |
| parent | Allow services to remove all SVSHOLDs using one command. (diff) | |
| parent | Don't allow logging whilst writing out the logger cache. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'src/logging.cpp')
| -rw-r--r-- | src/logging.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logging.cpp b/src/logging.cpp index 44271df8a..64d3e30d5 100644 --- a/src/logging.cpp +++ b/src/logging.cpp @@ -263,6 +263,7 @@ void Log::Manager::OpenLogs(bool requiremethods) if (requiremethods && caching) { // The server has finished starting up so we can write out any cached log messages. + logging = true; for (auto& logger : loggers) { if (logger.dead || !logger.method->AcceptsCachedMessages()) @@ -290,6 +291,7 @@ void Log::Manager::OpenLogs(bool requiremethods) cache.clear(); cache.shrink_to_fit(); caching = false; + logging = false; } CheckLevel(); } |
