Permalink
Browse files

Added logging of executed setup files

  • Loading branch information...
1 parent 93f38e9 commit aa5be363239a0b2bc616f1352be0e98661451227 Alexander Menk committed Jul 16, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 app/code/core/Mage/Core/Model/Resource/Setup.php
@@ -640,6 +640,9 @@ protected function _modifyResourceDb($actionType, $fromVersion, $toVersion)
if ($result) {
$this->_setResourceVersion($actionType, $file['toVersion']);
+ Mage::log(sprintf('Update script execution: Success - File: %s', $fileName), Zend_Log::NOTICE);
+ } else {
+ Mage::log(sprintf('Update script execution: Failure - File: %s', $fileName), Zend_Log::NOTICE);
}
} catch (Exception $e) {
printf('<pre>%s</pre>', print_r($e, true));

0 comments on commit aa5be36

Please sign in to comment.