backend: update logging level for initial API key configuration
This commit is contained in:
parent
f02fcb96a9
commit
01e137c2f6
@ -111,7 +111,11 @@ export const logEnvVars = () => {
|
|||||||
console.log('MEET PREFERENCES STORAGE:', text(MEET_PREFERENCES_STORAGE_MODE));
|
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 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 ADMIN PASSWORD: ', credential('****' + MEET_INITIAL_ADMIN_PASSWORD.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 API KEY: ', credential('****' + MEET_INITIAL_API_KEY.slice(-3)));
|
||||||
|
}
|
||||||
console.log('MEET INITIAL WEBHOOK ENABLED:', text(MEET_INITIAL_WEBHOOK_ENABLED));
|
console.log('MEET INITIAL WEBHOOK ENABLED:', text(MEET_INITIAL_WEBHOOK_ENABLED));
|
||||||
|
|
||||||
if (MEET_INITIAL_WEBHOOK_ENABLED === 'true') {
|
if (MEET_INITIAL_WEBHOOK_ENABLED === 'true') {
|
||||||
|
|||||||
@ -731,7 +731,7 @@ export class MeetStorageService<
|
|||||||
const initialApiKey = MEET_INITIAL_API_KEY;
|
const initialApiKey = MEET_INITIAL_API_KEY;
|
||||||
|
|
||||||
if (!initialApiKey) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user