Added logging of 404 pages.