hirosystems / hirosystems/stacks-devnet-api

revisit log levels

Open
#100 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Logs are quite noisy.

We currently log all internal K8s requests to `INFO`. We should probably downgrade these to `DEBUG` to reduce noise. I think it would be nice to see:
- `ERROR` - the Devnet API can't handle something and is broken - should prompt a response
- `WARN` - a user's Devnet instance encounters a problem, or there's an invalid request made
- `INFO` - a user makes a request to the devnet (just one log/request)
- `DEBUG` - the internal requests that the Devnet API makes to the k8s API

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.