404 handler with more useful loggin