You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by lu...@redhat.com on 2012/12/06 03:42:56 UTC
[PATCH 12/13] CIMI tests: fiddle with log format; dump RestClient traffic in debug level
From: David Lutterkort <lu...@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