Skip to main content
  1. Fork the repository to your own GitHub account: WhatsApp-Logger-Self-Hosted-
  2. Log in to Render.
  3. Click New + → Web Service.
  4. Connect your forked repository.
  5. Runtime: select Docker.
  6. Add the following environment variables under “Advanced”:
  1. Click Create Web Service.
  2. Wait for deployment to finish. Render gives you a URL like https://your-app.onrender.com.
LogsGo to https://your-app.onrender.com/logs to see the logs from server. You have to login first to see the logs.

Excluding specific chats from logging

If there are chats you don’t want logged at all — a bot, a broadcast/status JID, a business account — edit EXCLUDED_JIDS in src/config.js on your fork before deploying:
EXCLUDED_JIDS is a set of full JIDs (the ...@s.whatsapp.net / ...@g.us / ...@lid identifiers, not just a phone number) that are skipped entirely — they won’t be cached, streamed, or included in exports. It ships empty by default. You can find a chat’s exact JID from the live server logs (see the tip above) the first time it logs a message, then add it here, e.g. new Set(['917278779512@s.whatsapp.net', '201554426618024@lid']), and redeploy. Continue to Connect WhatsApp.

Copyright © 2025–2026 Amit Dutta