Log4r levels need to be defined before we can check for them
This commit is contained in:
parent
7954d4cba8
commit
a94cf520c6
|
@ -2,7 +2,10 @@
|
|||
# anything else so that we can setup the output before
|
||||
# any logging occurs.
|
||||
if ENV["VAGRANT_LOG"] && ENV["VAGRANT_LOG"] != ""
|
||||
# Require Log4r and define the levels we'll be using
|
||||
require 'log4r'
|
||||
require 'log4r/config'
|
||||
Log4r.define_levels(*Log4r::Log4rConfig::LogLevels)
|
||||
|
||||
level = nil
|
||||
begin
|
||||
|
|
Loading…
Reference in New Issue