mittens icon indicating copy to clipboard operation
mittens copied to clipboard

Log output configuration options

Open jrauschenbusch opened this issue 2 years ago • 0 comments

Describe the feature

The log level of mittens should be configurable via cli argument: e.g. trace, debug, info, warn, error, fatal, panic

The log format should be configurable via cli argument: e.g. text, json

The date time format of logs should be configurable: e.g. iso8601 , rfc3339, epoch

Rational

For production use cases it can be required to have more control over the generated log output.

Example Scenario

Kubernetes workloads and autoscaling: each time a new pod is created and mittens starts to warm the target container it produces a lot of non-essential logs. Furthermore the logs are in their own format so that it's hard to index them in a centralized log mgmt system.

jrauschenbusch avatar Sep 19 '23 07:09 jrauschenbusch