valeriansaliou / vigil

🚦 Microservices Status Page. Monitors a distributed infrastructure and sends alerts (Slack, SMS, etc.).
https://crates.io/crates/vigil-server
Mozilla Public License 2.0
1.72k stars 128 forks source link

log probe script stdout/stderr #138

Open UiP9AV6Y opened 1 year ago

UiP9AV6Y commented 1 year ago

currently only the script exit code is captured and logged. for better insight and debugging i would like to have access to the script output; especially stderr, as it might contain hints as to why the probe failed.

i was thinking debug! for stdout and info! for stderr, as warning/error logs are reserved for actual application problems.

valeriansaliou commented 1 year ago

That’s definitely a good idea, I am open to PRs on this.