-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Description
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
- In Next.js project, log a string in info level:
import * as Sentry from '@sentry/nextjs';
const { logger } = Sentry;
...
logger.info('filter this: John Doe');- In project configuration JSON file of a relay
{
"slug": "my-project-slug",
"publicKeys": [
{
"publicKey": "my-project-public-key",
"isEnabled": true
}
],
"config": {
"allowedDomains": ["*"],
"piiConfig": {
"version": 2,
"rules": {
"debug_rule": {
"type": "pattern",
"pattern": "(?i)john doe",
"redaction": {
"method": "replace",
"text": "[Removed in relay]"
}
}
},
"applications": {
"$string": ["debug_rule"],
"logentry.formatted": ["debug_rule"]
}
}
}
}
Expected Result
Expecting in the Logs, I will see "filter this: [Removed in relay]"
Actual Result
Still seeing John Doe in the logs
The scrubbing on other area works
But can't to get it worked for Logs, not sure is it because Logs is still in experimental phase? or I did not configure the selector for Logs correctly, many thanks in advance
Product Area
Settings - Relay
Link
No response
DSN
No response
Version
No response
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
No status