Skip to content

Commit

Permalink
Merge pull request #488 from hmcts/ieuanb74-patch-5
Browse files Browse the repository at this point in the history
Enable Debug Logging
  • Loading branch information
ieuanb74 authored Oct 29, 2024
2 parents cf2f4ce + f905bb7 commit 497cce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (fastStartup) {
setupSecrets.setup();
}

const { App } = require("@slack/bolt");
const { App, LogLevel } = require("@slack/bolt");

let appInsights;
if (!fastStartup) {
Expand All @@ -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,
});
Expand Down

0 comments on commit 497cce5

Please sign in to comment.