FAQ / knapsack_pro / General questions for knapsack_pro gem

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 debug (default), info, warn, error and fatal.

Recommended log levels you can use:

  • debug is 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.
  • info level 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 info level when you really don't want to see all debug messages from default log level.

General questions for knapsack_pro gem
See questions outside of this category

Start using Knapsack Pro

Sign up and speed up your tests.