Rajeev Chaurasia <[email protected]> added the comment:
self.logger = lib.logger.Log()
We have cronjob entry to call the application everyday
$crontab -e
0 1 * * * /scratch/rajeev/cronjob/exachk.sh
exachk.sh makes call to my python application as-
python3 /opt/oracle.ahf/exachk/exachk.py
Yes I am redirecting stdout to-
sys.stdout = lib.debugger.Tee("/tmp/exachk_screen_output_061321_23211.log")
I am not redirecting stderr anywhere.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44415>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com