Skip to content

Commit

Permalink
chore: fix is_authenticated logging (#8266)
Browse files Browse the repository at this point in the history
"o" instead of "i" to check response headers
  • Loading branch information
jennifer-richards authored Nov 22, 2024
1 parent 661945b commit ff5b2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ietf/utils/jsonlogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ def add_fields(self, log_record, record, message_dict):
log_record.setdefault("cf_connecting_ip", record.args["{cf-connecting-ip}i"])
log_record.setdefault("cf_connecting_ipv6", record.args["{cf-connecting-ipv6}i"])
log_record.setdefault("cf_ray", record.args["{cf-ray}i"])
log_record.setdefault("is_authenticated", record.args["{x-datatracker-is-authenticated}i"])
log_record.setdefault("is_authenticated", record.args["{x-datatracker-is-authenticated}o"])

0 comments on commit ff5b2e1

Please sign in to comment.