Project

General

Profile

« Previous | Next » 

Revision 96d32beb

Added by Dominic Cleal about 8 years ago

fixes #14820 - override Rails log level with Foreman::Logging config

The log_level is expected to be explicitly configured in the Rails
config in the production environment.

View differences:

test/lib/foreman/logging_test.rb
Foreman::Logging.send(:load_config, 'development')
end
end
def test_logger_level
Foreman::Logging.add_logger('test_logger', {:enabled => true, :level => :debug})
assert_equal 'debug', Foreman::Logging.logger_level('test_logger')
end
end

Also available in: Unified diff