Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save TheNicholasNick/41434 to your computer and use it in GitHub Desktop.
Save TheNicholasNick/41434 to your computer and use it in GitHub Desktop.
Merb.logger.info("Loaded DEVELOPMENT Environment...")
Merb::Config.use { |c|
c[:exception_details] = true
c[:reload_templates] = true
c[:reload_classes] = true
c[:reload_time] = 0.5
c[:ignore_tampered_cookies] = true
c[:log_auto_flush ] = true
c[:log_level] = :debug
c[:log_stream] = STDOUT
c[:log_file] = nil
# Or redirect logging into a file:
# c[:log_file] = Merb.root / "log" / "development.log"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment