added logging plugin