Use custom logger middleware