[Title] Used dummy log more
authordonghee yang <donghee.yang@samsung.com>
Tue, 9 Oct 2012 00:13:43 +0000 (09:13 +0900)
committerdonghee yang <donghee.yang@samsung.com>
Tue, 9 Oct 2012 00:13:43 +0000 (09:13 +0900)
src/build_server/BuildComm.rb
src/build_server/RemoteBuilder.rb
src/common/log.rb

index 109011336c8d425d32db0d1f9f8aacaacf809d32..96b490fe1309c9c196aed4e5d28b29a8566f7f5f 100644 (file)
@@ -37,15 +37,6 @@ require 'thread'
 
 ATTEMPTS = ["first", "second", "third"]
 
-class DummyLog
-       def info(str)
-       end
-       def error(str)
-       end
-       def warn(str)
-       end     
-end
-
 class BuildCommServer
        VERSION = "1.5.0"
 
index ba1a42279aecc469f56c34cccb0c7ae337fad770..1ebccc86b848429bfedfb5ce8c321e5c3b30f143 100644 (file)
@@ -46,7 +46,7 @@ class RemoteBuilder
                @ftp_port = ftp_port
                @ftp_username = ftp_username
                @ftp_passwd = ftp_passwd
-               @log = Log.new(".log")
+               @log = DummyLog.new
                @job = nil
        end
 
index e7eb19041e2549bfd60060eef09d5b131bf0c89e..53f00cba68c60773a5bf47d1b628411efd6836b5 100644 (file)
@@ -107,3 +107,14 @@ class Log
                #do nothing
        end
 end
+
+
+class DummyLog
+       def info(str)
+       end
+       def error(str)
+       end
+       def warn(str)
+       end     
+end
+