Way to disable message content being logged #1751
Labels
enhancement
M-T: A feature request for new functionality
good first issue
pkg:web-api
applies to `@slack/web-api`
Milestone
Hi,
I am looking for a way to never output / always hide the message contents from the application logs. If such way already exists, I would like to know how.
Use-case
I am building an app which contains sensitive content in the messages that I do not want to be logged in the application logs.
My LogLevel is 'INFO'.
I recently saw some API failure logs in my application, which in turn resulted in the message data being logged in the app logs.
Reproducible in:
The Slack SDK version
Node.js runtime version
v16.8.1
OS info
Red Hat Enterprise Linux 8
Steps to reproduce:
Expected result:
Application logs contain message data.
Actual result:
I want to exclude this message data from the application logs.
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: