# Logging callback errors

**URL:** <https://community.plotly.com/t/logging-callback-errors/62279>\
**Category:** Dash Python\
**Tags:** question\
**Created:** [March 25, 2022, 9:19am UTC](https://community.plotly.com/t/logging-callback-errors/62279 "2022-03-25T09:19:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddavo](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/ddavo/32/18123_2.png) [@ddavo](https://community.plotly.com/u/ddavo)\
**Post date:** [March 25, 2022, 9:19am UTC](https://community.plotly.com/t/logging-callback-errors/62279/1 "2022-03-25T09:19:30Z")

</div>

I’m running a dash app using gunicorn, and then I set to put the error log in a file. This means that everything that every log message gets put into that file.

But when a callback raises an error, It’s displayed on stdout. Is it possible to display it with `logger.error()` instead?
