Added support for IP to be logged if nofound page is triggered.