Open oschaaf opened 4 years ago
Instead of forwarding the logs across the gRPC boundary, we should review the cases where ENVOY_LOG
is used and ensure that users have enough data to debug executions and that all warnings are just warnings, not hard errors.
High level rules:
ENVOY_LOG
and ensure that execution terminates on all hard errors and the error message is forwarded across the gRPC channel itself.stderr
only and thus could perish. How is this done in other projects? How can users access and analyze the logs when running Nighthawk in various cloud deployments?
Warnings and errors emitted via ‘ENVOY_LOG’ calls will be written to stderr; however that doesn’t serve gRPC clients well. For those, perhaps a separate log stream over gRPC could be useful to forward what now is written to stderr.