artifacts icon indicating copy to clipboard operation
artifacts copied to clipboard

Add -l/--log-level ARTIFACTS_LOG_LEVEL option to set a custom log level

Open tmaczukin opened this issue 9 years ago • 1 comments

Similar to #54, but allows a user to set a custom log level supported by logrus.

Currently when using this tool we can set a debug level (so print anything) or a panic level (so almost nothing). In some cases I would like to suppress messages logged as info, but still see the error messages. So using -q is not a solution for my case.

This change introduces a -l/--log-level flag which allows user to set any log level supported by logrus. So with this user can use one of present flags (to have a debug or empty output) or set a level which is most useful.

tmaczukin avatar Jan 23 '17 19:01 tmaczukin

@meatballhat I see you've assigned this to you. Is there anything that needs to be added to merge this PR?

tmaczukin avatar Oct 05 '18 10:10 tmaczukin