Fork : Cleanup code and only log loaded plugins.