Open akshob opened 1 year ago
Currently all the logs that Mainframer prints are expected to be seen by user
Perhaps we could add --quiet
flag that might rely on something like tracing
to suppress the output.
With regards to logging into a log file or uploads to telemetry servers — this is not needed as Mainfraimer is a CLI tool for users, not a backend service or something like this I'd say :)
Currently logs are printed on the command line via
println
. Replacing all the logs withtracing::info!
andtracing::debug!
would give flexibility with where we show the output - terminal, log file, or upload to a telemetry service using open telemetry. It is also possible to pipe thestdout
andstderr
ofrysnc
andgradlew
, so we can choose to filter it out (without relevant command line argument).Thoughts?