From 2ac9874700324ee81dfc8455cb9609ff0afe6d23 Mon Sep 17 00:00:00 2001 From: Derick M <58572875+TurtIeSocks@users.noreply.github.com> Date: Tue, 24 Sep 2024 10:15:09 -0400 Subject: [PATCH] refactor: change log for config reloading --- server/src/utils/reloadConfig.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/server/src/utils/reloadConfig.js b/server/src/utils/reloadConfig.js index 8f77b9a6d..d82adaff1 100644 --- a/server/src/utils/reloadConfig.js +++ b/server/src/utils/reloadConfig.js @@ -94,11 +94,17 @@ async function reloadConfig() { } catch { // do nothing } - log.info(TAGS.config, `'${key}' -`, 'old:', oldValue, 'new:', newValue) + log.info( + TAGS.config, + `updated '${key}' -`, + 'old:', + oldValue, + 'new:', + newValue, + ) } if (valid.length) { - log.info(TAGS.config, 'updating the following config values:') valid.forEach(print) } if (invalid.length) {