Log output configuration options
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
- Domain
- cli, observability-sre
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
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
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ExpediaGroup/mittens
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 20/100
ExpediaGroup/mittens#397 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 42/100
ExpediaGroup/mittens#371 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
ExpediaGroup/mittens#360 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
ExpediaGroup/mittens#256 ·
-
More data in logsOpenenhancement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ExpediaGroup/mittens#203 ·
All issues in ExpediaGroup/mittens
Similar issues
-
mcpx scan: flag unsafe tool namesPossibly taken @zeyadbadawyy claimed this today. Openarea/scan enhancement good first issue priority/medium size/small
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
rohitgollarahalli/mcpx#45 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Mend: dependency security vulnerability
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Windows 主机
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Lee-xeo/Claude-Cage#1550 ·
Maintainers usually reply within 1 day