From 78ec6844a502d55462dac066ed72b54359d7037b Mon Sep 17 00:00:00 2001 From: Mihaela Dumitru Date: Mon, 23 Jan 2023 11:14:07 +0200 Subject: [PATCH] cleanup logs --- src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 42cf894..1423636 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,8 +6,6 @@ import socketIO from 'socket.io'; import * as prometheus from 'socket.io-prometheus-metrics'; const serverDebug = debug('server'); -const ioDebug = debug('io'); -const socketDebug = debug('socket'); dotenv.config( process.env.NODE_ENV === 'development' @@ -74,7 +72,6 @@ io.on('connection', socket => { socket.on( 'server-volatile-broadcast', (roomID: string, encryptedData: ArrayBuffer, iv: Uint8Array) => { - serverDebug(`${socket.id} sends volatile update to ${roomID}`); socket.volatile.broadcast .to(roomID) .emit('client-broadcast', encryptedData, iv);