Skip to content

Commit

Permalink
null as default values
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-ganesh committed Sep 9, 2024
1 parent 76f90f8 commit d14efb5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libs/infinity_emb/infinity_emb/log_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ def sla_breached(duration):
class StructuredLogging:
request_time = ContextVar("request_time", default=perf_counter())
account_id = ContextVar("account_id", default="null")
request_id = ContextVar("request_id", default="No request ID")
trace_parent = ContextVar("trace_parent", default="-")
controller = ContextVar("controller", default=["-"]) # needed for implementation
request_id = ContextVar("request_id", default="null")
trace_parent = ContextVar("trace_parent", default="null")
controller = ContextVar("controller", default=["null"]) # needed for implementation

_config_dict = {
"ts": "%(timestamp_ms)d",
Expand Down

0 comments on commit d14efb5

Please sign in to comment.