-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Synapse application logs sometimes log HTTP status codes as text. #7017
Comments
This was a |
Is this perhaps due to this line: Line 241 in d907e8f
Where it's not passing arguments to |
what do you mean? how is it not passing arguments correctly? |
@richvdh Ah, I had a brain fart and forgot how I've been able to reproduce this by trying to log in as a deactivated user. Log line:
Looks like it's caused by this line: Line 190 in e8e2ddb
Which hands
So a PR to find/replace all instances of |
Actually a better solution might be to have the logger correctly and consistently print these objects, as there's lots of instances of |
Fixed by #7188 |
event_creator1.log-20200228
at2020-02-28 00:45:13,117 - synapse.access.http.8095
the HTTP status code appears asHTTPStatus.FORBIDDEN
instead of 403.The text was updated successfully, but these errors were encountered: