summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/schemaupdate.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-06-08 17:33:11 +0200
committerJan Cholasta <jcholast@redhat.com>2015-07-03 07:47:59 +0000
commit884afb5d38480e23c91ec14876bcf39151a2c2ed (patch)
tree15a4d06ec3e2634946987133aa762a25c3fa9eaa /ipaserver/install/schemaupdate.py
parent66ea322e7e01266cc916156860b684adb21c618d (diff)
downloadfreeipa-884afb5d38480e23c91ec14876bcf39151a2c2ed.tar.gz
freeipa-884afb5d38480e23c91ec14876bcf39151a2c2ed.tar.xz
freeipa-884afb5d38480e23c91ec14876bcf39151a2c2ed.zip
Server Upgrade: use debug log level for upgrade instead of info
Upgrade contains too many unnecessary info logs. Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaserver/install/schemaupdate.py')
-rw-r--r--ipaserver/install/schemaupdate.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/ipaserver/install/schemaupdate.py b/ipaserver/install/schemaupdate.py
index 9a882c9b6..03edb6307 100644
--- a/ipaserver/install/schemaupdate.py
+++ b/ipaserver/install/schemaupdate.py
@@ -124,7 +124,7 @@ def update_schema(schema_files, ldapi=False, dm_password=None,):
for attr in schema_entry[attrname]}
for filename in schema_files:
- log.info('Processing schema LDIF file %s', filename)
+ log.debug('Processing schema LDIF file %s', filename)
dn, new_schema = ldap.schema.subentry.urlfetch(filename)
for attrname, cls in SCHEMA_ELEMENT_CLASSES:
@@ -147,10 +147,10 @@ def update_schema(schema_files, ldapi=False, dm_password=None,):
if old_obj:
old_attr = old_entries_by_oid.get(oid)
- log.info('Replace: %s', old_attr)
- log.info(' with: %s', value)
+ log.debug('Replace: %s', old_attr)
+ log.debug(' with: %s', value)
else:
- log.info('Add: %s', value)
+ log.debug('Add: %s', value)
modified = modified or new_elements
schema_entry[attrname].extend(new_elements)
@@ -163,7 +163,7 @@ def update_schema(schema_files, ldapi=False, dm_password=None,):
conn.update_entry(schema_entry)
if not modified:
- log.info('Not updating schema')
+ log.debug('Not updating schema')
return modified