thin 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/lib/thin/server.rb +3 -0
- data/lib/thin/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG
CHANGED
data/lib/thin/server.rb
CHANGED
@@ -187,7 +187,10 @@ module Thin
|
|
187
187
|
@backend.stop!
|
188
188
|
end
|
189
189
|
|
190
|
+
# == Reopen log file.
|
191
|
+
# Reopen the log file and redirect STDOUT and STDERR to it.
|
190
192
|
def reopen_log
|
193
|
+
return unless log_file
|
191
194
|
file = File.expand_path(log_file)
|
192
195
|
log ">> Reopening log file: #{file}"
|
193
196
|
Daemonize.redirect_io(file)
|
data/lib/thin/version.rb
CHANGED