Permalink
Browse files

need to open log for read/write with new version of passenger

  • Loading branch information...
stevenwilkin committed Aug 27, 2009
1 parent 41f0fec commit 4c2774f8876a0cb26d9d4b8f06f8c1f1a041b069
Showing with 1 addition and 1 deletion.
  1. +1 −1 config.ru
View
@@ -6,7 +6,7 @@ disable :run
# enable production logging
set :raise_errors, true
-log = File.new("log/sinatra.log", "a")
+log = File.new("log/sinatra.log", "a+")
STDOUT.reopen(log)
STDERR.reopen(log)

0 comments on commit 4c2774f

Please sign in to comment.