refactor: change logger level from info to debug for voice activity detection

This commit is contained in:
MythEclipse
2026-05-16 21:56:14 +07:00
parent 4825dc6d4d
commit 9b211f05cf
2 changed files with 1 additions and 2 deletions

View File

@@ -19,7 +19,6 @@ let db:
*/ */
export async function initializeDatabase() { export async function initializeDatabase() {
if (db !== null) { if (db !== null) {
logger.debug("Database already initialized, skipping");
return db; return db;
} }

View File

@@ -125,7 +125,7 @@ export async function startRecording(
const userMetadata = await collectUserMetadata(client, userId, channel); const userMetadata = await collectUserMetadata(client, userId, channel);
if (userMetadata.bot) return; if (userMetadata.bot) return;
logger.info( logger.debug(
{ userId, username: userMetadata.username }, { userId, username: userMetadata.username },
"Voice activity detected", "Voice activity detected",
); );