OpenBBTerminal
OpenBBTerminal copied to clipboard
Anonymize logged in users flair in logs
Description
Anonymizes logged in users flair in the logs with FILTERED_FLAIR by matching pattern of all non whitespace characters enclosed in brackets. Fixes #4838
See screenshots of before & after:
![Screenshot 2023-04-21 at 19 24 54](https://user-images.githubusercontent.com/125876072/233708838-5d35ac85-bb17-4f54-811d-ab1d10d06d0f.png)
![Screenshot 2023-04-21 at 19 23 54](https://user-images.githubusercontent.com/125876072/233708860-1862725d-5f81-45cd-ae0e-55faf3b30566.png)
- [x] Summary of the change / bug fix.
- [x] Link # issue, if applicable.
- [x] Screenshot of the feature or the bug before/after fix, if applicable.
- [x] Relevant motivation and context.
- [ ] List any dependencies that are required for this change.
How has this been tested?
- Please describe the tests that you ran to verify your changes.
- Provide instructions so we can reproduce.
- Please also list any relevant details for your test configuration.
- [ ] Make sure affected commands still run in terminal
- [ ] Ensure the SDK still works
- [ ] Check any related reports
Checklist:
- [ ] I have adhered to the GitFlow naming convention and my branch name is in the format of
feature/feature-name
orhotfix/hotfix-name
. - [ ] Update our documentation following these guidelines. Update any user guides that are affected by the changes.
- [ ] Update our tests following these guidelines.
- [ ] Make sure you are following our CONTRIBUTING guidelines.
- [ ] If a feature was added make sure to add it to the corresponding integration test script.
Others
- [ ] I have performed a self-review of my own code.
- [ ] I have commented my code, particularly in hard-to-understand areas.