From 3534d6fdd7c59e65615167cfe306deebad9ca4d3 Mon Sep 17 00:00:00 2001 From: Pujit Mehrotra Date: Tue, 5 Aug 2025 11:29:44 -0400 Subject: [PATCH] fix: change config file loading error log to debug (#1565) To reduce noise and a false-negative syslog upon a user's first boot. this way, we can opt into the trace if there's an issue. --- - To see the specific tasks where the Asana app for GitHub is being used, see below: - https://app.asana.com/0/0/1210958709343109 ## Summary by CodeRabbit * **Style** * Adjusted logging for configuration file loading errors to reduce log verbosity. --- packages/unraid-shared/src/util/config-file-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/unraid-shared/src/util/config-file-handler.ts b/packages/unraid-shared/src/util/config-file-handler.ts index ddc79f06f..dc3f22839 100644 --- a/packages/unraid-shared/src/util/config-file-handler.ts +++ b/packages/unraid-shared/src/util/config-file-handler.ts @@ -59,7 +59,7 @@ export class ConfigFileHandler { ...fileConfig, }); } catch (error) { - this.logger.warn(error, "Error loading config. Attempting to migrate..."); + this.logger.debug(error, "Error loading config. Attempting to migrate..."); try { const migratedConfig = await this.definition.migrateConfig();