Plugins now log correctly, fixes #1.