deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@redhat.com
Subject [PATCH 12/13] CIMI tests: fiddle with log format; dump RestClient traffic in debug level
Date Thu, 06 Dec 2012 02:42:56 GMT
From: David Lutterkort <lutter@redhat.com>

---
 tests/cimi/test_helper.rb |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/cimi/test_helper.rb b/tests/cimi/test_helper.rb
index 9df8000..3605228 100644
--- a/tests/cimi/test_helper.rb
+++ b/tests/cimi/test_helper.rb
@@ -203,6 +203,8 @@ module CIMI::Test::Methods
         else
           @log.level = Logger.const_get ENV['LOG_LEVEL']
         end
+        @log.datetime_format = "%H:%M:%S"
+        RestClient.log = @log if @log.level == Logger::DEBUG
       end
       @log
     end
-- 
1.7.7.6


Mime
View raw message