transparent-release icon indicating copy to clipboard operation
transparent-release copied to clipboard

Improve logging

Open rbehjati opened this issue 3 years ago • 2 comments

Currently, we log errors from running the command (exec.Command) in a tempfile. These files are difficult to access on GitHub, in case, a CI step fails.

Should we instead log everything to console?

The problem with that is that the logs may get very messy and difficult to use.

rbehjati avatar Feb 03 '22 17:02 rbehjati

I think this is a good idea, and would also simplify our code substantially. If messy logs an issue we can consider adding a "verbose" flag?

jul-sh avatar Feb 04 '22 11:02 jul-sh

Yes. I think a verbose flag would be a good idea :) Not sure how to implement it nicely though.

rbehjati avatar Feb 04 '22 11:02 rbehjati