joe-at-startupmedia / pmon3

Golang Production Process Manager
10 stars 0 forks source link

Implement more robust logging #18

Closed joe-at-startupmedia closed 7 months ago

joe-at-startupmedia commented 7 months ago
  1. Implement more robust logging to capture other critical events (e.g. process failure) using the proper log-levels as necessary: https://github.com/sirupsen/logrus?tab=readme-ov-file#level-logging

  2. Currently the log-level is info by default and debug if the PMON3_DEBUG flag is provided. Making this configurable would probably be ideal: https://github.com/joe-at-startupmedia/pmon3/blob/3fcb9023944385ae830196ac615da5802973957b/pmond/init.go#L21

related to #17