You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to find out the exit status of a process under supervisord using the event listeners API. But looking at the doc there seems to be no mechanism to report the exit status of a process when it goes down.
This seems like a glaringly obvious missing feature. Minimally, I need the exit status code for logging purposes so I can figure out if its a crash, a simple stop, etc. etc.
Is there really no way to get this information using the event API?
The text was updated successfully, but these errors were encountered:
Hi,
I'm in the same situation. For example sometimes I find in supervisord.log prints like:
2019-01-26 15:48:57,765 INFO stopped: mystatemachine (exit status 0)
which is good, and sometimes prints like:
2019-01-26 15:48:45,218 WARN killing 'mystatemachine' (108301) with SIGKILL
2019-01-26 15:48:45,674 INFO stopped: mystatemachine (terminated by SIGKILL)
and the problem is that my event listener will NOT get notified. I would like to know instead if my process has been killed by supervisord (in my case due to the fact it did not respect the "stopwaitsecs" threshold)...
I want to find out the exit status of a process under supervisord using the event listeners API. But looking at the doc there seems to be no mechanism to report the exit status of a process when it goes down.
This seems like a glaringly obvious missing feature. Minimally, I need the exit status code for logging purposes so I can figure out if its a crash, a simple stop, etc. etc.
Is there really no way to get this information using the event API?
The text was updated successfully, but these errors were encountered: