Skip to content

GOWA - WhatsApp REST API with support for UI, Multi Account, Webhooks, and MCP, and Chatwoot. Built with Golang for efficient memory use.

refactor(whatsapp): reduce logging verbosity in ephemeral extraction

Aldino Kemal5fe12d2ed939
diff --git a/src/pkg/utils/whatsapp.go b/src/pkg/utils/whatsapp.go
index 5d756eef..ea4c6e3b 100644
--- a/src/pkg/utils/whatsapp.go
+++ b/src/pkg/utils/whatsapp.go
@@ -242,7 +242,7 @@ func ExtractMediaInfo(msg *waE2E.Message) (mediaType string, filename string, ur
// ExtractEphemeralExpiration extracts ephemeral expiration from a WhatsApp message
func ExtractEphemeralExpiration(msg *waE2E.Message) uint32 {
- logrus.Info("ExtractEphemeralExpiration: Starting extraction process")
+ logrus.Debug("ExtractEphemeralExpiration: Starting extraction process")
if msg == nil {
logrus.Debug("ExtractEphemeralExpiration: Message is nil, returning 0")