fgrosse / prox

A process runner for Procfile-based applications
BSD 2-Clause "Simplified" License
13 stars 2 forks source link

Killing of process is not detected #3

Open cornelk opened 4 years ago

cornelk commented 4 years ago

it should at least show a WARN error message

fgrosse commented 4 years ago

If the process exits with a zero status code, its counted as normal finish of the service. I think you can only detect a normal shutdown when you run with verbose (debug) logs. Maybe it should be info instead?

fgrosse commented 4 years ago

I think actually you should already see this info log message?

https://github.com/fgrosse/prox/blob/57be557775d9b0464c4db4ffc5b080be3089b890/executor.go#L153-L165