Mercurial > public > src > moin > 1.9
diff MoinMoin/config/multiconfig.py @ 3129:d57fed1b0b43
multiconfig: also log which farmconfig we use
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Wed, 27 Feb 2008 14:08:29 +0100 |
parents | fac1b1e9ea95 |
children | 7aba52041f56 |
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py Wed Feb 27 13:04:26 2008 +0100 +++ b/MoinMoin/config/multiconfig.py Wed Feb 27 14:08:29 2008 +0100 @@ -82,6 +82,7 @@ _farmconfig_mtime = 0 _url_re_cache = [('wikiconfig', re.compile(r'.')), ] # matches everything else: + logging.info("using farm config: %s" % os.path.abspath(farmconfig.__file__)) try: cache = [] for name, regex in farmconfig.wikis: @@ -115,7 +116,7 @@ configClass = getattr(module, 'Config') cfg = configClass(name) cfg.cfg_mtime = max(mtime, _farmconfig_mtime) - logging.info("using config: %s" % os.path.abspath(module.__file__)) + logging.info("using wiki config: %s" % os.path.abspath(module.__file__)) except ImportError, err: logging.error(str(err)) msg = '''ImportError: %(err)s