lib/heroku/scalr/runner.rb in heroku-scalr-0.2.3 vs lib/heroku/scalr/runner.rb in heroku-scalr-0.2.4
- old
+ new
@@ -21,9 +21,10 @@
# Start the runner
def run!
SIGNALS.each do |sig|
Signal.trap(sig) { stop! }
end
+ Signal.trap("USR1") { Heroku::Scalr.logger.reopen }
loop { timers.wait }
end
# Stop execution
\ No newline at end of file