More env settings to tune down log noise

This commit is contained in:
Rory& committed 2025-10-19 08:59:32 +02:00
1 parent 4fa95a928b
commit 20177860e0
3 files changed
+11 -9

No files matched your search

+5 -4
View File
@@ -166,10 +166,11 @@ async function patchUserSettings(
};
}
console.log(
`Updating user settings for user ${userId} with atomic=${atomic}:`,
updatedSettings,
);
if ((process.env.LOG_PROTO_UPDATES || process.env.LOG_PROTO_SETTINGS_UPDATES) && process.env.LOG_PROTO_SETTINGS_UPDATES !== "false")
console.log(
`Updating user settings for user ${userId} with atomic=${atomic}:`,
updatedSettings,
);
if (!atomic) {
settings = PreloadedUserSettings.fromJson(
+5 -4
View File
@@ -168,10 +168,11 @@ async function patchUserSettings(
};
}
console.log(
`Updating frecency settings for user ${userId} with atomic=${atomic}:`,
updatedSettings,
);
if ((process.env.LOG_PROTO_UPDATES || process.env.LOG_PROTO_FRECENCY_UPDATES) && process.env.LOG_PROTO_FRECENCY_UPDATES !== "false")
console.log(
`Updating frecency settings for user ${userId} with atomic=${atomic}:`,
updatedSettings,
);
if (!atomic) {
settings = FrecencyUserSettings.fromJson(