summaryrefslogtreecommitdiffstats
path: root/ipalib/plugable.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugable.py')
-rw-r--r--ipalib/plugable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py
index d9884c714..264bb68cf 100644
--- a/ipalib/plugable.py
+++ b/ipalib/plugable.py
@@ -385,7 +385,7 @@ class API(DictProxy):
# If logging has already been configured somewhere else (like in the
# installer), don't add handlers or change levels:
- if len(log.handlers) > 0:
+ if len(log.handlers) > 0 or self.env.validate_api:
return
if self.env.debug: