Skip to content

Commit

Permalink
Merge pull request #1346 from okfn/1346-minor-debug-message-tweaks
Browse files Browse the repository at this point in the history
More useful debug messages for custom action/auth functions on startup
  • Loading branch information
kindly committed Nov 28, 2013
2 parents c4118d2 + 73d918f commit cdde256
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckan/logic/__init__.py
Expand Up @@ -388,7 +388,7 @@ def get_action(action):
resolved_action_plugins[name]
)
)
log.debug('Auth function %r was inserted', plugin.name)
log.debug('Action function {0} from plugin {1} was inserted'.format(name, plugin.name))
resolved_action_plugins[name] = plugin.name
# Extensions are exempted from the auth audit for now
# This needs to be resolved later
Expand Down
2 changes: 1 addition & 1 deletion ckan/new_authz.py
Expand Up @@ -83,7 +83,7 @@ def _build(self):
resolved_auth_function_plugins[name]
)
)
log.debug('Auth function %r was inserted', plugin.name)
log.debug('Auth function {0} from plugin {1} was inserted'.format(name, plugin.name))
resolved_auth_function_plugins[name] = plugin.name
fetched_auth_functions[name] = auth_function
# Use the updated ones in preference to the originals.
Expand Down

0 comments on commit cdde256

Please sign in to comment.