I recently pushed a commit to Backtrex that makes logging more configurable for users, and it caused the Travis CI build to fail with the following error in Elixir 1.3.2 but not 1.4.0.
1) test Solver.solve/1 solve example Sudoku puzzle from Wikipedia article (Backtrex.Examples.Sudoku.Solver.Test)
test/examples/sudoku/solver_test.exs:37
** (RuntimeError) cannot use Logger, the :logger application is not running
stacktrace:
(logger) lib/logger/config.ex:53: Logger.Config.__data__/0
(logger) lib/logger.ex:363: Logger.level/0
(backtrex) lib/backtrex.ex:93: Backtrex.solve/2
test/examples/sudoku/solver_test.exs:40: (test)
Off hand do you know of differences between 1.3.2 and 1.4.0 that might cause this? If not I’ll probably try reinstalling 1.3.2 to get to the bottom of it locally.
The mix.exs
file has :logger
listed as an application.
I tried fixing it with a couple educated guesses, neither or which worked.