Skip to content

Commit

Permalink
Added logger to development env for Thin server
Browse files Browse the repository at this point in the history
  • Loading branch information
gabceb committed Feb 14, 2013
1 parent 1e6a668 commit bf0f81d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,10 @@

# Expands the lines which load the assets
config.assets.debug = true

config.logger = Logger.new(STDOUT)
config.logger.level = Logger.const_get(
ENV['LOG_LEVEL'] ? ENV['LOG_LEVEL'].upcase : 'DEBUG'
)

end

0 comments on commit bf0f81d

Please sign in to comment.