Thought about adding a logging library instead, but it looks like the popular ones all have speed as their major concern and come with quite a few other dependencies. Since we do not care that much about speed here, and rather want a simple way to use the logger, I added the extra functionality to the existing logging.
Closes #554.
Logs now look like this:
2022-06-17T08:27:09Z | INFO | Booting ...
2022-06-17T08:27:09Z | INFO | Ready to accept requests!
2022-06-17T08:27:09Z | DEBUG | pruner: Prune settings: MinKeepHours=48 MaxKeepRuns=20
2022-06-17T08:27:50Z | DEBUG | watcher: Advancing pipeline run queue for queue 'foo-app' ...
2022-06-17T08:27:50Z | DEBUG | watcher: Found 0 pipeline runs related to repository foo-app.
Tasks:
[x] Updated design documents in docs/design directory or not applicable
[x] Updated user-facing documentation in docs directory or not applicable
Thought about adding a logging library instead, but it looks like the popular ones all have speed as their major concern and come with quite a few other dependencies. Since we do not care that much about speed here, and rather want a simple way to use the logger, I added the extra functionality to the existing logging.
Closes #554.
Logs now look like this:
Tasks:
docs/design
directory or not applicabledocs
directory or not applicablemake test
) or not applicable