influxdata / influxdata/influxdb

Logging formats for `influxd` and `influxd upgrade` don't match

Open
#20,579 0 comments 0 reactions 0 assignees View on GitHub
area/2.x area/logging
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

`influxd` writes logs with format:
```
{"": ", ...}
```
`influxd upgrade` writes logs with format:
```
{"level": "", "ts": "", "msg": "", "": "", ...}
```

Our new DockerHub wrapper runs `upgrade` followed by plain `influxd` in the same container, and the logs get mixed together. The mismatch will be a pain for any downstream log-processing tools.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the logging entry points for `influxd` and `influxd upgrade`, comparing how each produces its documented output format. Identify the shared format that should be used, then verify that logs from both commands have matching structure and that existing logging checks still pass.

Written by the indexing model from the issue text.

Assessment

Domain
databases
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.