artifacts
artifacts copied to clipboard
Add -l/--log-level ARTIFACTS_LOG_LEVEL option to set a custom log level
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.
@meatballhat I see you've assigned this to you. Is there anything that needs to be added to merge this PR?