Disable Parameter Logging

Hello,

I am trying to use the “Disable logging for” option under Advanced for a query. When I add a field under this option and push to production, the field is still populated under the audit logs. I have tried this for multiple queries and multiple pages.

Here is an example:

image004

This appears to be a bug in the platform.

Thank you.

Hello @Cultivate5361!

That is a very odd bug, are you self hosting? If so, what version of Retool are you on?

I just tried to reproduce the bug on cloud and it worked as intended for hiding the header. May be something that can be fixed with an update.

Hello @Jack_T , this is happening on the cloud platform. I tested this a little bit ago and the issue is still present. Any suggestions on how to resolve this?

Hi @Cultivate5361,

Apologies for the the issue still being present.

What kind of query are you using?

I was testing this out on a REST query and it was able to hide query params, but my Advanced options looked different from yours :thinking:

Mine was titled "Remove parameters from logs" as opposed to yours being titled "Disable logging for". Also mine did not populate with either of the two headers I had added as options.

My instance is also on cloud so it shouldn't be a version discrepancy. Let me know how I can best reproduce this bug so I can file a request to fix this to our engineering team!


Hello @Jack_T ,

To reproduce the issue:

  1. Create a saved query with a named parameter like shown below:

  1. Use the query in an app, filling in a value for the parameter and selecting the "name" parameter in the Remove parameters from logs field.

  1. Run the query.
  2. Review the audit log. The parameter value is shown.

image

I hope this information helps. Thank you.

1 Like

Hi @Cultivate5361,

Thank you for the great breakdown and screenshots, I was able to reproduce this.

Will file a bug report now and will keep you updated on the ticket in this thread.

Thank you for finding this!

1 Like

Hi @Jack_T - much appreciated. Thank you.

1 Like

Hello @Jack_T , is there an update available for fixing this issue? Thank you.

Hi @Cultivate5361,

I just checked the ticket and it looks like it has been moved to a high priority. It hasn't been assigned to an engineer yet, I am guessing they have a lot on their plate.

I just added a +1 from you to the ticket so that should further increase the tickets weight in getting attention. Will update this post with any further details I get :saluting_face:

1 Like