-
Notifications
You must be signed in to change notification settings - Fork 897
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
Filtered the auth key in api.log #20632
Conversation
Oh this is the main api.log, I think we filter this already we might just need to add I tried adding an AWS provider and notice it already has
|
@Kuldip-Nanda try adding |
it already shows Or is the log in the OP after the changes in this PR? |
I think he manually edited that, because otherwise it would have shown |
I did not make any changes in https://github.com/ManageIQ/manageiq/blob/master/config/application.rb#L63. The only changes I made were in lib/vmdb/loggers.rb and lib/vmdb/loggers/provider_sdk_logger.r. I can add https://github.com/ManageIQ/manageiq/blob/master/config/application.rb#L63 and check if it will solve the issue. |
…le, in config/application.rb
Checked commit Kuldip-Nanda@5d8088b with ruby 2.6.3, rubocop 0.69.0, haml-lint 0.28.0, and yamllint |
I have rechecked and this is from the api.log snippet: |
Now attaching ProviderSdkLogger to api.log as we will like to filter out the auth_key before printing the log. Please see below, the snippet from the generated api.log file :
and here the the complete api.log
api.log