From f905bb716d7fcb449c8d656a4a0ca4113fd467da Mon Sep 17 00:00:00 2001 From: Ieuan Byers Date: Tue, 29 Oct 2024 15:18:46 +0000 Subject: [PATCH] Enable Debug Logging --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 422e53b..2c5b1ba 100755 --- a/app.js +++ b/app.js @@ -11,7 +11,7 @@ if (fastStartup) { setupSecrets.setup(); } -const { App } = require("@slack/bolt"); +const { App, LogLevel } = require("@slack/bolt"); let appInsights; if (!fastStartup) { @@ -21,7 +21,7 @@ if (!fastStartup) { const app = new App({ token: config.get("slack.bot_token"), //disable this if enabling OAuth in socketModeReceiver - // logLevel: LogLevel.DEBUG, + logLevel: LogLevel.DEBUG, appToken: config.get("slack.app_token"), socketMode: true, });