Skip to content
Browse files

added logging

  • Loading branch information...
1 parent 80ed65e commit 998b7d26b39bc6e8e4fc8af711fb6f5995b8632e @chrisb committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 config.ru
View
5 config.ru
@@ -1,3 +1,8 @@
require 'refuddle'
+log = File.new("sinatra.log", "a")
+
+STDOUT.reopen(log)
+STDERR.reopen(log)
+
run Sinatra::Application

0 comments on commit 998b7d2

Please sign in to comment.
Something went wrong with that request. Please try again.