Major enhancements in logging capabilities and "sub plugin" idea