Discussion:
[Supervisor-users] [FAILED] Internal logging the program under supervisord
chika tambun
2016-07-10 04:14:53 UTC
Permalink
Dear Lists,

I have the python program running under supervisord.
Yes the program finishes the job without logging. I have:

1. /etc/supervisord.conf --> https://bpaste.net/show/7743e764ca6b
2. /etc/supervisord.d/cpyred.conf -->
https://bpaste.net/show/51e984473351
3. /usr/local/bin/cpyred.py --> https://bpaste.net/show/713f0250df60
4. /var/log/cpyred.out.log --> https://bpaste.net/show/ecc997db25d7

When i do/enable logging the program will not finish the job.
Yes the program will exit successfuly without finishing the main job. The
logging section will emit insufficient output logs like on the file
/var/log/cpyred.out.log above.

Is it possible to make the program finishes the main job and emits the
sufficient logs file also? Any reference, would be appreciated.


---
*Best regards,*
*chika.tambun*

*"Winning loves preparation"*

Loading...