Add logging plugin