ddollar / foreman

Manage Procfile-based applications
http://ddollar.github.com/foreman
MIT License
6.01k stars 630 forks source link

adding option for output format #763

Open stewartmckee opened 4 years ago

stewartmckee commented 4 years ago

Was looking for a solution to #656 and decided to give it a go. Specs still needed, and its 2am just now so further refinement may be necessary. The intent is that if the process outputs a json formatted hash then it is merged with the foreman process name and output as one json line. If not, then the message is put into a message attribute.