eclipse-opendut / opendut

Test Electronic Control Units around the world in a transparent network.
https://opendut.eclipse.dev
Apache License 2.0
25 stars 15 forks source link

CLEO should have better error handling and logging #14

Open kKdH opened 10 months ago

kKdH commented 10 months ago

To improve the user experience of CLEO (mostly in failure situations) a '--verbose' flag could provide more information to a user and help to solve the problem faster.

At the moment CLEO is not showing logs but it might be helpful to see log statements when using CLEO. A viable option is printing the logs on stderr instead of stdout. By default only error and warning logs may be shown. The verbose flag may be used to increase the log level to show debug logs as well.

mbfm commented 5 months ago

This probably makes sense to use for the verbosity flag: https://crates.io/crates/clap-verbosity-flag