You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2012/12/11 04:48:25 UTC
[6/14] git commit: CIMI tests: fiddle with log format;
dump RestClient traffic in debug level
CIMI tests: fiddle with log format; dump RestClient traffic in debug level
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/be5fc589
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/be5fc589
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/be5fc589
Branch: refs/heads/master
Commit: be5fc589c2a395293ee2905d958f93fb1847786d
Parents: fbe09df
Author: David Lutterkort <lu...@redhat.com>
Authored: Wed Dec 5 18:34:03 2012 -0800
Committer: David Lutterkort <lu...@redhat.com>
Committed: Mon Dec 10 17:08:49 2012 -0800
----------------------------------------------------------------------
tests/cimi/test_helper.rb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/be5fc589/tests/cimi/test_helper.rb
----------------------------------------------------------------------
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