iggy icon indicating copy to clipboard operation
iggy copied to clipboard

Fix server logging

Open hubcio opened this issue 1 year ago • 0 comments

Server is not logging enough in cold paths. Any invalid command, like create/update stream, topic, tbh anything that would not overflow the logs should be logged with appropriate severity (err/wrn). We don't want to log not enough because it'd be hard to debug these issues later on.

Example, from integration/tests/server/scenarios/system_scenario.rs: image

Server logs: image

Command to run test: cargo build && cargo test --package integration --test mod -- server::http_server::system_scenario_should_be_valid --nocapture

hubcio avatar Jan 05 '24 20:01 hubcio