apache / apache/solr-operator

Add option to also log to a file

Open
#655 0 comments 0 reactions 0 assignees View on GitHub
controller operations
Dominant language
Go
Stars
283
Forks
148
PR merge metrics
No merged PRs in 30d

Description

There are setups with kuberenetes that require logs to be written to a file, so that they can then be uploaded to the log aggregators. Just logging to stdout does not allow for this.

We do want to always log to stdout, since that's how all debugging is done in Kubernetes, but we should have an option to **also** log to a file.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the operator's logging setup and the configuration or command-line entry point where logging options are defined. Confirm how logs are currently sent to stdout, then define how an opt-in file destination should work while preserving stdout; done means both destinations receive logs when the option is enabled.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.