about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-08-14 21:03:44 -0700
committerEric Wong <normalperson@yhbt.net>2009-08-15 02:38:48 -0700
commitbd8f086963d193ec91a549361938f2d3497f8f4d (patch)
tree0e00708ba4b62bad71a950f41190a81debc64d11
parente59fe8ba119104dfefa2135326ca9bd945db962f (diff)
downloadunicorn-bd8f086963d193ec91a549361938f2d3497f8f4d.tar.gz
-rw-r--r--lib/unicorn/util.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/unicorn/util.rb b/lib/unicorn/util.rb
index d2214b7..5454005 100644
--- a/lib/unicorn/util.rb
+++ b/lib/unicorn/util.rb
@@ -7,13 +7,13 @@ module Unicorn
 
       APPEND_FLAGS = File::WRONLY | File::APPEND
 
-      # this reopens logs that have been rotated (using logrotate(8) or
-      # similar).  It is recommended that you install
+      # This reopens ALL logfiles in the process that have been rotated
+      # using logrotate(8) (without copytruncate) or similar tools.
       # A +File+ object is considered for reopening if it is:
       #   1) opened with the O_APPEND and O_WRONLY flags
       #   2) opened with an absolute path (starts with "/")
       #   3) the current open file handle does not match its original open path
-      #   4) unbuffered (as far as userspace buffering goes)
+      #   4) unbuffered (as far as userspace buffering goes, not O_SYNC)
       # Returns the number of files reopened
       def reopen_logs
         nr = 0