mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-13 03:44:02 -07:00
Show where plugins were loaded in vvv/vvvv (#15757)
Make the plugin loading info displayed by callback plugins match. In debug mode (ANSIBLE_DEBUG=1 env), log all requests for plugins including already cached plugins and class_only requests.
This commit is contained in:
parent
57a911e098
commit
71118b2720
2 changed files with 26 additions and 4 deletions
|
@ -68,7 +68,7 @@ class CallbackBase:
|
|||
name = getattr(self, 'CALLBACK_NAME', 'unnamed')
|
||||
ctype = getattr(self, 'CALLBACK_TYPE', 'old')
|
||||
version = getattr(self, 'CALLBACK_VERSION', '1.0')
|
||||
self._display.vvvv('Loaded callback %s of type %s, v%s' % (name, ctype, version))
|
||||
self._display.vvvv('Loading callback plugin %s of type %s, v%s from %s' % (name, ctype, version, __file__))
|
||||
|
||||
''' helper for callbacks, so they don't all have to include deepcopy '''
|
||||
_copy_result = deepcopy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue