Log output configuration options

Open
#309 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #392 by @vijaygovindaraja — closed without merging

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go

Research direction

No files or tests are named. Start by locating mittens' CLI argument handling and logging setup, then trace how startup logs are configured. Done means CLI options control log level, format, and date-time format using the examples in the issue, including Kubernetes-oriented output needs.

Written by the indexing model from the issue text.

Description

enhancement

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.

Dominant language
Go
Stars
66
Forks
28
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ExpediaGroup/mittens

All issues in ExpediaGroup/mittens

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.