about summary refs log tree commit homepage
path: root/bin
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-06-30 21:25:14 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-06-30 21:25:14 +0000
commit111af72fbbbc64438a74ca035eacc1691d895ea1 (patch)
treebb7175b7f6a667e071fcef80f679bd131361f790 /bin
parentddd5c9a46cfbb471f83a50d0a890a55628c22738 (diff)
downloadunicorn-111af72fbbbc64438a74ca035eacc1691d895ea1.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@269 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'bin')
-rw-r--r--bin/mongrel_rails3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/mongrel_rails b/bin/mongrel_rails
index 69d953c..f404044 100644
--- a/bin/mongrel_rails
+++ b/bin/mongrel_rails
@@ -103,6 +103,9 @@ class Start < GemPlugin::Plugin "/commands"
         if defaults[:debug]
           log "Installing debugging prefixed filters.  Look in log/mongrel_debug for the files."
           debug "/"
+        elsif not defaults[:daemon]
+          # they don't have debug on and aren't in daemon so at least log accesses
+          debug "/", what = [:files]
         end
 
         log "Starting Rails with #{defaults[:environment]} environment ..."