ManageIQ/manageiq — pull request #411 by jrafanie (2014-08-18 20:59:55+00:00)
Title: To avoid noisy output, use StringIO instead of STDOUT for logging.

#### Before
```
bundle exec rspec spec/util/duplicate_blocker_spec.rb -f p
W, [2014-08-18T16:57:58.103542 #24990] WARN -- : Breaker for .target_method with arguments ["arg"] is tripped. Further calls are blocked.
D, [2014-08-18T16:57:58.103542 #24990] DEBUG -- : .target_method with arguments ["arg"] is blocked because it is duplicated.
.W, [2014-08-18T16:57:58.106559 #24990] WARN -- : Breaker for .target_class_method with arguments ["arg"] is tripped. Further calls are blocked.
D, [2014-08-18T16:57:58.106559 #24990] DEBUG -- : .target_class_method with arguments ["arg"] is blocked because it is duplicated.
..W, [2014-08-18T16:57:58.111936 #24990] WARN -- : Breaker for .target_method with arguments ["arg"] is tripped. Further calls are blocked.
D, [2014-08-18T16:57:58.111936 #24990] DEBUG -- : .target_method with arguments ["arg"] is blocked because it is duplicated.
D, [2014-08-18T16:57:58.113241 #24990] DEBUG -- : .target_method with arguments ["arg"] is blocked because it is duplicated.
I, [2014-08-18T16:57:58.140468 #24990] INFO -- : Tripped condition for .target_method with arguments ["arg"] is now reset. Total 2 calls were blocked.
..W, [2014-08-18T16:57:58.118401 #24990] WARN -- : Breaker for .target_method with arguments ["arg"] is tripped. Further calls are blocked.
D, [2014-08-18T16:57:58.118401 #24990] DEBUG -- : .target_method with arguments ["arg"] is blocked because it is duplicated.
D, [2014-08-18T16:57:58.119401 #24990] DEBUG -- : .target_method with arguments ["arg"] is blocked because it is duplicated.
D, [2014-08-18T16:57:58.120401 #24990] DEBUG -- : .target_method with arguments ["arg"] is blocked because it is duplicated.
D, [2014-08-18T16:57:58.121401 #24990] DEBUG -- : .target_method with arguments ["arg"] is blocked because it is duplicated.
D, [2014-08-18T16:57:58.122401 #24990] DEBUG -- : .target_method with arguments ["arg"] is blocked because it is duplicated.
D, [2014-08-18T16:57:58.123401 #24990] DEBUG -- : .target_method with arguments ["arg"] is blocked because it is duplicated.
D, [2014-08-18T16:57:58.124401 #24990] DEBUG -- : .target_method with arguments ["arg"] is blocked because it is duplicated.
.W, [2014-08-18T16:57:58.122227 #24990] WARN -- : Breaker for .target_method with arguments ["arg"] is tripped. Further calls are blocked.
D, [2014-08-18T16:57:58.122227 #24990] DEBUG -- : .target_method with arguments ["arg"] is blocked because it is duplicated.
.W, [2014-08-18T16:57:58.123866 #24990] WARN -- : Breaker for call with redefined user key is tripped. Further calls are blocked.
D, [2014-08-18T16:57:58.123866 #24990] DEBUG -- : call with redefined user key is blocked because it is duplicated.
..
```

#### After
```
bundle exec rspec spec/util/duplicate_blocker_spec.rb -f p
..........
```