diff --git a/seafile-ldap.py b/seafile-ldap.py index d9576de..cef6ade 100644 --- a/seafile-ldap.py +++ b/seafile-ldap.py @@ -67,7 +67,7 @@ cwd = os.path.dirname(os.path.realpath(__file__)) configPath = os.path.join(cwd, 'config.ini') # import the config file -logger.debug("Starting to read the config.") +logger.debug("Starting to read the config.ini file.") logger.debug("Using file {0}.".format(configPath)) if os.path.exists(configPath): config = configparser.ConfigParser() @@ -80,6 +80,8 @@ seafileToken = config['Seafile']['token'] ccnetPath = config['Seafile']['ccnetPath'] logger.debug("Seafile Token: {0}".format(seafileToken)) logger.debug("Seafile ccnet.conf File Path: {0}".format(ccnetPath)) +logger.debug("Finished reading the config.ini file.") +logger.debug("Starting to read the ccnet.conf file.") if os.path.exists(ccnetPath): ccnetConfig = configparser.ConfigParser() ccnetConfig.read(ccnetPath) @@ -110,7 +112,7 @@ ldapUserPassword = ccnetConfig['LDAP']['PASSWORD'] ldapFilter = ccnetConfig['LDAP']['FILTER'] logger.debug("LDAP Host: {0}, LDAP Base: {1}, LDAP User DN: {2}, LDAP Filter: {3}".format(ldapHost, ldapBase, ldapUserDN, ldapFilter)) -logger.debug("Finished reading the config.") +logger.debug("Finished reading the ccnet.conf file.") # setup the server ldapServer = Server(ldapHost)