lib/datacenter/process.rb in datacenter-0.2.1 vs lib/datacenter/process.rb in datacenter-0.2.2
- old
+ new
@@ -27,10 +27,10 @@
end
end
def alive?
alive = !shell.run("ps -p #{pid} | grep #{pid}").empty?
- Datacenter.logger.debug(self.class) { "pid: #{pid} - ALIVE: #{alive}" } if !alive
+ Datacenter.logger.info(self.class) { "pid: #{pid} - ALIVE: #{alive}" } if !alive
alive
end
def send_signal(signal)
shell.run "kill -s #{signal} #{pid}"