# Structured logging

**URL:** <https://discuss.python.org/t/structured-logging/31370>\
**Category:** Python Help\
**Tags:** documentation, help\
**Created:** [August 10, 2023, 10:08am UTC](https://discuss.python.org/t/structured-logging/31370 "2023-08-10T10:08:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saphyel](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/saphyel/32/8344_2.png) [@Saphyel](https://discuss.python.org/u/Saphyel)\
**Post date:** [August 10, 2023, 10:08am UTC](https://discuss.python.org/t/structured-logging/31370/1 "2023-08-10T10:08:21Z")

</div>

I’m trying to use [structured logging](https://docs.python.org/3.11/howto/logging-cookbook.html#implementing-structured-logging)

But I encountered some issues, how can I include the level of the logging inside of the strutured log ? And other attributes like the traceback, etc…? is possible to rename/remap the attributes and include them inside of the strucutred log class ?

Any real plans to support json as output of logging? I’m asking because I used to use `python-json-logger` and seems like like a recent change in the formatter class did a BC change without warning so I’m looking for a long term supported way
