Remove unnecessary debug logs from sync function

Removed debug logging for messages, chats, and contacts.
This commit is contained in:
Davidson Gomes
2026-02-24 12:10:06 -03:00
committed by GitHub
parent d6e8210bc6
commit 21513f5d5c
@@ -989,14 +989,6 @@ export class BaileysStartupService extends ChannelStartupService {
progress?: number;
syncType?: proto.HistorySync.HistorySyncType;
}) => {
//These logs are crucial; when something changes in Baileys/WhatsApp, we can more easily understand what changed!
this.logger.debug('Messages abaixo');
this.logger.debug(messages);
this.logger.debug('Chats abaixo');
this.logger.debug(chats);
this.logger.debug('Contatos abaixo');
this.logger.debug(contacts);
try {
if (syncType === proto.HistorySync.HistorySyncType.ON_DEMAND) {
console.log('received on-demand history sync, messages=', messages);