[Title] Added a logging when killing process
authordonghee yang <donghee.yang@samsung.com>
Tue, 16 Oct 2012 10:28:15 +0000 (19:28 +0900)
committerdonghee yang <donghee.yang@samsung.com>
Tue, 16 Oct 2012 10:28:15 +0000 (19:28 +0900)
src/build_server/CommonJob.rb

index 6a442f8f15080110c5df05f4310b4b65e71969a3..038a238193e20ebf937a4bce3a5c74e92423e2ea 100644 (file)
@@ -176,6 +176,9 @@ class CommonJob
        protected
        def kill_sub_process()
                if @sub_pid != 0 then
+                       if not @log.nil? then
+                               @log.info("Killing sub process! id = #{@sub_pid}")
+                       end
                        Utils.kill_process(@sub_pid)
         end
     end