about summary refs log tree commit homepage
path: root/bin/mongrel_rails
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mongrel_rails')
-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 ..."