-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Hacktoberfestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededpriority: highFeatures with higher priorityFeatures with higher priority
Description
Summary
Login requests to the Friendo API are being removed from logging as a hotfix. We would still like to log these requests, but with the token censored.
Lines 11 to 16 in def1d8e
| class LoginTokenLoggingFilter(logging.Filter): | |
| """Logging filter to remove api token from logging for friendo api requests.""" | |
| def filter(self, record: logging.LogRecord) -> bool: | |
| """Returns False if login token is in logging record.""" | |
| return "token" not in record.getMessage() |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Hacktoberfestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededpriority: highFeatures with higher priorityFeatures with higher priority