Taskscaler and fleeting now use logrus logger
What does this MR do?
Taskscaler, fleeting and fleeting plugins use hclog
.
This adds an adapter, with an implementation of hclog.Logger
interface that uses logrus, so that Runner log output is consistent across subsystems.
Why was this MR needed?
To ensure log output is consistent.
What's the best way to test this MR?
Start Runner with either instance
or docker-autoscaler
executors. Log output will now be consistent.
- Try with
--debug
to also enable debug logs of taskscaler/fleeting logs. - Try with
--log-format=json
to enable json log output.
What are the relevant issue numbers?
Closes #37489 (closed)
Edited by Arran Walker