From 0d0a98490cb504c936c860782e2a3a54ebc5a194 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Fri, 22 Jan 2021 20:33:10 +0000 Subject: [PATCH] Do not expose token on info log level --- src/vk.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vk.ts b/src/vk.ts index 760309d..2bce98b 100755 --- a/src/vk.ts +++ b/src/vk.ts @@ -137,7 +137,7 @@ export class VkPuppet { // and listen to incoming messages from it try { const client = new VK({ token: data.token, apiLimit: 20 }); - log.info("Trying to init listener with", data.token); + log.debug("Trying to init listener with", data.token); client.updates.on("message_new", async (context) => { try {