thin 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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