summaryrefslogtreecommitdiffstats
path: root/ipatests/beakerlib_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/beakerlib_plugin.py')
-rw-r--r--ipatests/beakerlib_plugin.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipatests/beakerlib_plugin.py b/ipatests/beakerlib_plugin.py
index e515bbd21..bd4f8465b 100644
--- a/ipatests/beakerlib_plugin.py
+++ b/ipatests/beakerlib_plugin.py
@@ -88,6 +88,10 @@ class BeakerLibPlugin(Plugin):
self.setup_log_handler(BeakerLibLogHandler(self.run_beakerlib_command))
def setup_log_handler(self, handler):
+ # Remove the console handler (BeakerLib will print to stderr)
+ if 'console' in log_mgr.handlers:
+ log_mgr.remove_handler('console')
+ # Configure our logger
log_mgr.configure(
{
'default_level': 'DEBUG',