Skip to content

Commit

Permalink
[#2375] Lower logging priority of config loading in app_global INFO -…
Browse files Browse the repository at this point in the history
…> DEBUG
  • Loading branch information
tobes committed Aug 9, 2012
1 parent 25147b1 commit 4b9e6d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/lib/app_globals.py
Expand Up @@ -74,11 +74,11 @@ def get_config_value(key, default=''):
if key not in _CONFIG_CACHE:
_CONFIG_CACHE[key] = config_value
if value:
log.info('config `%s` set to `%s` from db' % (key, value))
log.debug('config `%s` set to `%s` from db' % (key, value))
else:
value = _CONFIG_CACHE[key]
if value:
log.info('config `%s` set to `%s` from config' % (key, value))
log.debug('config `%s` set to `%s` from config' % (key, value))
else:
value = default
setattr(app_globals, get_globals_key(key), value)
Expand Down

0 comments on commit 4b9e6d9

Please sign in to comment.