diff --git a/backend/src/environment.ts b/backend/src/environment.ts index 4b9fe09..8672a3b 100644 --- a/backend/src/environment.ts +++ b/backend/src/environment.ts @@ -111,7 +111,11 @@ export const logEnvVars = () => { console.log('MEET PREFERENCES STORAGE:', text(MEET_PREFERENCES_STORAGE_MODE)); console.log('MEET INITIAL ADMIN USER: ', credential('****' + MEET_INITIAL_ADMIN_USER.slice(-3))); console.log('MEET INITIAL ADMIN PASSWORD: ', credential('****' + MEET_INITIAL_ADMIN_PASSWORD.slice(-3))); - console.log('MEET INITIAL API KEY: ', credential('****' + MEET_INITIAL_API_KEY.slice(-3))); + if (!MEET_INITIAL_API_KEY) { + console.log(chalk.red('MEET INITIAL_API_KEY: none')); + } else { + console.log('MEET INITIAL API KEY: ', credential('****' + MEET_INITIAL_API_KEY.slice(-3))); + } console.log('MEET INITIAL WEBHOOK ENABLED:', text(MEET_INITIAL_WEBHOOK_ENABLED)); if (MEET_INITIAL_WEBHOOK_ENABLED === 'true') { diff --git a/backend/src/services/storage/storage.service.ts b/backend/src/services/storage/storage.service.ts index bb26ba3..23da6b1 100644 --- a/backend/src/services/storage/storage.service.ts +++ b/backend/src/services/storage/storage.service.ts @@ -731,7 +731,7 @@ export class MeetStorageService< const initialApiKey = MEET_INITIAL_API_KEY; if (!initialApiKey) { - this.logger.verbose('No initial API key configured, skipping API key initialization'); + this.logger.info('No initial API key configured, skipping API key initialization'); return; }