added logging to nancy module
moved errors to on error filter