This filtering is done in both the module invocation logging and in the regular verbose() logging output. Fixes #4087