I am trying to log observer event names. So that in Mage.php file under Dispatch function written Mage::log function to log all the events name. But unfortunately, it's throwing 404 error.
Did confirm log is enabled despite it's not working.
What could be the issue? Did enabled display error but it's not showing anything. How can we identify the issue and log the observer events?
public static function dispatchEvent($name, array $data = array())
$result = self::app()->dispatchEvent($name, $data);
Mage::log('My variable: '.$name);
// Mage::log($name, null, 'events.log');