Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering network logs issue #41

Open
AlisaStefan opened this issue Jun 13, 2024 · 2 comments
Open

Filtering network logs issue #41

AlisaStefan opened this issue Jun 13, 2024 · 2 comments

Comments

@AlisaStefan
Copy link

Hello,

I need to filter from the network logs some nested keys, and reading the documentation it looks like I can do that by using Gleap.setNetworkLogPropsToIgnore(["api-key", "user.password", "..."]).

The actual behaviour is that the nested keys are not removed. It seems like only top level keys are filtered.

We are using Graphql and our requests payload are in a format of

"variables": {  "input": {
"key1": "value"  ,
"key2": "value"
}}

Trying to filter only key2 won't work.

@boehlerlukas
Copy link
Contributor

Hey @AlisaStefan thanks for opening this issue. We will happily look into it and get back to you as soon as possible.

One thing to try in the meantime would be to add variables.input.key2.

Best,
Lukas

@AlisaStefan
Copy link
Author

@boehlerlukas I already tried that and the key is not removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants