# see stdout python script autostart (or what is recommended logging mechanism)

**URL:** <https://forums.digi.com/t/see-stdout-python-script-autostart-or-what-is-recommended-logging-mechanism/20821>\
**Category:** Python\
**Tags:** wr41, python\
**Created:** [October 11, 2019, 10:31am UTC](https://forums.digi.com/t/see-stdout-python-script-autostart-or-what-is-recommended-logging-mechanism/20821 "2019-10-11T10:31:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OSchoenborn](https://avatars.discourse-cdn.com/v4/letter/o/cc9497/32.png) [@OSchoenborn](https://forums.digi.com/u/OSchoenborn)\
**Post date:** [October 11, 2019, 10:31am UTC](https://forums.digi.com/t/see-stdout-python-script-autostart-or-what-is-recommended-logging-mechanism/20821/1 "2019-10-11T10:31:18Z")

</div>

I have a Python 3.5 script that I have uploaded to router, and I have set it to autostart. Some questions related to debugging:

- how can I see the script’s output (print/stdout/stderr)
- how can I tell when/why it has restarted (if that was the exit action specified - Restart)
