Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Magento logging not working in Open Source and Commerce or after SUPEE-11086
* Set values for allowedFileExtensions
/* @var $installer Mage_Core_Model_Resource_Setup */
$installer = $this;
$coreConfigTable = $installer->getTable('core_config_data');
INSERT INTO `{$coreConfigTable}` (scope, scope_id, path, value)
VALUES ('default', 0, 'dev/log/allowedFileExtensions', 'log,txt,html,csv')
ON DUPLICATE KEY UPDATE value = 'log,txt,html,csv';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment