[feature] Reset config settings

This commit is contained in:
PauI Ostrovckij
2025-11-24 13:00:19 +03:00
parent 8e3a438313
commit 8fd8aacd00
12 changed files with 435 additions and 138 deletions

View File

@ -126,5 +126,8 @@ exports.shutdown = function (callback) {
};
exports.configureLogger = configureLogger;
exports.getLoggerConfig = function () {
return curLogConfig;
return config.util.extendDeep({}, curLogConfig);
};
exports.getInitialLoggerConfig = function () {
return config.util.extendDeep({}, cachedLogConfig);
};