Is there anyway I can force Magento to create a log file that contains the offending script path that is causing a redirect to no-route?

1 Answer 1


You need to create small module



Add below code on IndexController.php

class Module_Noroughtlog_IndexController extends Mage_Core_Controller_Front_Action {

    public function indexAction() {
        Mage::log($this->getRequest()->getRequestUri()), null, "404-url-list.log");

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.