You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
23:13:11 | INFO | Testing {}
23:13:11 | INFO | With extras {'somekey': 'somevalue', 'x': 5}
I would rather it output:
23:13:11 | INFO | Testing
23:13:11 | INFO | With extras somekey=somevalue, x=5
(I have a very non-technical audience and the presence of braces, colons, etc, generally shapes the way they interact with log output - as I've often found, it makes the difference between some users deliberately keep the context information out of their copy; others will assume the line is perfectly self-contained if there's programmer-stuff on it, and not paste context. This becomes increasingly more likely as the users' technical level decreases)
The text was updated successfully, but these errors were encountered:
Yes, in a future release I was planning to improve the support for structured logging. In particular, I agree the formatting of extra arguments should be changed.
I'd like to be able to output the extras list in a more human-facing way.
Current:
outputs, e.g
I would rather it output:
(I have a very non-technical audience and the presence of braces, colons, etc, generally shapes the way they interact with log output - as I've often found, it makes the difference between some users deliberately keep the context information out of their copy; others will assume the line is perfectly self-contained if there's programmer-stuff on it, and not paste context. This becomes increasingly more likely as the users' technical level decreases)
The text was updated successfully, but these errors were encountered: