Skip to content

Commit 026807e

Browse files
author
Tony Guntharp
committed
Merge pull request #84 from gabceb/master
Added logger for development env
2 parents 08cdef3 + bf0f81d commit 026807e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/environments/development.rb

+6
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,10 @@
3434

3535
# Expands the lines which load the assets
3636
config.assets.debug = true
37+
38+
config.logger = Logger.new(STDOUT)
39+
config.logger.level = Logger.const_get(
40+
ENV['LOG_LEVEL'] ? ENV['LOG_LEVEL'].upcase : 'DEBUG'
41+
)
42+
3743
end

0 commit comments

Comments
 (0)