apache / apache/solr-operator

Configuring Logging using Solr Cloud Operator

Open
#802 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
283
Forks
148
PR merge metrics
No merged PRs in 30d

Description

I am trying to configure logging but i cannot seem to get it to work. Is there an example somewhere I can reference?

1. Turn down the logLevel from INFO to WARN
2. Write the logs as JSON to the CONSOLE

My SolrCloud has these settings but both my Solr and Zookeeper (using the embedded ZK) are logging at INFO

```
spec:
replicas: 1
solrImage:
repository: solr
tag: "9.9.0"
solrLogLevel: WARN
```

This is pummeling our logs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how the SolrCloud spec's solrLogLevel setting is handled for Solr and embedded Zookeeper, then check the operator's logging configuration documentation or examples. Done means WARN-level logs are applied to both components and JSON logs are written to the console without the current INFO-level volume.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes
Domain
infrastructure, observability-sre
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.