FNNDSC / pman

A process management system written in python
MIT License
22 stars 33 forks source link

Tail logs #204

Closed jennydaman closed 2 years ago

jennydaman commented 2 years ago

As mentioned in https://github.com/FNNDSC/pman/issues/197, large job logs cause pman to hang. This is a hotfix for that.

In this change, pman is configurable by an environment variable JOB_LOGS_TAIL (default: 1000) which sets the maximum number of lines from the end of the job container's logs that should be read.