]> Frank Brehm's Git Trees - pixelpark/ldap-migration.git/commitdiff
Minor cange on logging output
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 6 Jan 2021 15:20:39 +0000 (16:20 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 6 Jan 2021 15:20:39 +0000 (16:20 +0100)
lib/ldap_migration/__init__.py

index a1af2d37048248220cd40f080b82aa56023df3b7..3051dfef0ba8a4208b7c5507c65a06d41f027a3d 100644 (file)
@@ -45,7 +45,7 @@ from fb_tools.collections import CIStringSet, CIDict
 
 from .config import LDAPMigrationConfiguration
 
-__version__ = '0.9.3'
+__version__ = '0.9.4'
 
 LOG = logging.getLogger(__name__)
 CFG_BASENAME = 'ldap-migration.ini'
@@ -1599,7 +1599,7 @@ class LDAPMigrationApplication(BaseApplication):
             if changes:
                 if self.verbose:
                     LOG.info("Updating target entry {!r} ...".format(tgt_dn))
-                if self.verbose > 2:
+                if self.verbose > 1:
                     msg = "Source attributes:\n{}".format(pp(src_entry['attributes']))
                     LOG.debug(msg)
                     msg = "Current target attributes:\n{}".format(pp(tgt_entry['attributes']))