Disable Admin Notification Popup in MagentoEvery time you login to Magento admin panel, you're going to get notification popup which includes various updates about Magento.
View more : https://www.magebay.com/magento-multi-vendor-marketplace-extensionIt’s a great thing to stay up to date about your software but I believe that's the part of the Developer’s life, end consumer never like these pop up on every login about which they don’t know something.
On this quick tip I will present you how we can disable these popup. That popup is performance of one of many
Magento 2 module. So disabling this popup is same as disabling module in Magento. All you want to know is the name of that module.
- Login to Magento Admin Panel. You're going to get popup.
- Go to System >> Configuration >> Advance
- Disable the Module named “Mage_AdminNotification”, check under image for extra informatiom.
Print array contents in log file of magentoIn Magento You possibly can print your log in Exception.log using
- Mage::logException($e->getMessage());
If you want to put the log to your custom log file, then you should use write below line
- Mage::log(‘Your Question’, Zend_Log::DEBUG, custom.log);
But the problem is that , It will not print any Array knowledge, If you wish to print Array knowledge in to log file then you need to use any one of many under methodology:
- Mage::getModel(‘core/log_adapter’, ‘customized.log’)->log($arrayvariable);
- or
- Mage::log(‘Your Data :’.print_r($arrayvariable, true), Zend_Log::DEBUG, ‘customized.log’);