fix(logging): avoid multiline logging of feature flags in server service (#32275)

When logging feature flags at startup, avoid stringifying the features
in pretty format. Multiline log messages clutter logs and make it harder
to ingest and parse in log aggregation systems like loki, graylog or
logz.io.
This commit is contained in:
Brandon Richardson
2026-10-09 09:46:16 -04:00
committed by GitHub
parent 116a9436ad
commit d8454261cd
+1 -1
View File
@@ -36,7 +36,7 @@ export class ServerService extends BaseService {
isOnboarded: true,
});
}
this.logger.log(`Feature Flags: ${JSON.stringify(await this.getFeatures(), null, 2)}`);
this.logger.log(`Feature Flags: ${JSON.stringify(await this.getFeatures())}`);
}
async getAboutInfo(): Promise<ServerAboutResponseDto> {