ryanrosello-og/playwright-slack-report

Surpressing [DEBUG] messages in the console output doesn't seem to work

azad-resolver opened this issue · 4 comments

I've noticed that the console output of the SlackReporter is full of [DEBUG] messages, is there a way to surpress them in my custom layout file for the SlackReporter?

image

I've had previously used this module in a different project/job and afair it didn't print out those debug messages before.
Would appreciate your help on this!

Edit: I already tried it with setting slackLogLevel: "ERROR", in the config but it still prints out the debug messages.

can you tell me which of the following you're using?

  • Option A - send your results via a Slack webhook
  • Option B - send your results via a Slack bot user
  • Option C - send your JSON results via CLI

also, can you provide me with your config file

I'm using it via a Slack bot user.

Here's my config (slightly modified) as well the custom layout:

config.zip

I can't seem to repro:
I tried both slackLogLevel: 'ERROR', and slackLogLevel: 'error',
Also with/without customLayout.

Which version are you running with?

2024-02-10_15-22-16

Which version are you running with?

You know what, I was apparently running on an older version (1.1.16) and now after updating the issue doesn't occur anymore. 🤦 Sorry about that, I'll close this ticket.