working on plugin thread logging