How can I change log level?
You can change log level by specifying the
KNAPSACK_PRO_LOG_LEVEL environment variable.
KNAPSACK_PRO_LOG_LEVEL=info bundle exec rake knapsack_pro:rspec
Available values are
Recommended log levels you can use:
debugis default log level and it is recommended to log details about requests to Knapsack Pro API. Thanks to that you can debug things or ensure everything works. For instance in user dashboard you can find tips referring to debug logs.
infolevel shows message like how to retry tests in development or info why something works this way or the other (for instance why tests were not executed on the CI node). You can use
infolevel when you really don't want to see all debug messages from default log level.