context_logging icon indicating copy to clipboard operation
context_logging copied to clipboard

Default context value

Open EkaterinaBurenina opened this issue 2 years ago • 0 comments

Describe the bug

The default value and the normal context value are different types

Steps to reproduce the behavior

  1. setup_log_record()
  2. logger.info("some text")
  3. current_context[key] = value
  4. logger.info("some text")

Expected vs actual behavior

I expect

"message": "some text", "context":   {}
"message": "some text", "context":  {key: value}

actual behavior

"message": "some text", "context":   ""
"message": "some text", "context":  {key: value}

EkaterinaBurenina avatar Feb 15 '23 11:02 EkaterinaBurenina