iggy
iggy copied to clipboard
Fix server logging
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:
Server logs:
Command to run test:
cargo build && cargo test --package integration --test mod -- server::http_server::system_scenario_should_be_valid --nocapture