tag1consulting / goose

Load testing framework, inspired by Locust
https://tag1.com/goose
Apache License 2.0
812 stars 71 forks source link

getting hyper debug/trace logs #550

Closed lcmgh closed 1 year ago

lcmgh commented 1 year ago

Hi!

I would like to see the debug/trace logs hyper is emitting. Is there a way to get it somehow?

RUST_LOG=hyper=debug has not worked.

Thanks

jeremyandrews commented 1 year ago

You can enable -v to see DEBUG logs while running a load test, and this includes hyper debugging. (Use -vv if you want TRACE level logs, too.)

Alternatively, you can enable -gg -G goose.log if you want to save the logs to a file (in this case named goose.log). (Use -ggg if you wan the log file to include TRACE level logs.)

In all cases, Trace level logging is extremely noisy and will negatively impact performance.