When you are in the process of development, you may need to save your logs a separate file. This could be easily done in Magento 1: use static method Mage::log() with the required file name and text. However, you are no longer able to do the same in Magento 2 — it uses Monolog as the main logging tool which follows the logging standard of PSR-3 . Monolog doesn’t allow to set a new filepath where you want to log a message. Monolog saves log file path during handlers initialization and does not allow to modify filename later. However, it is possible to add one more handler to Monolog, for example, like this:
In Magento 1.X you needed to expand export/import using special extensions. In Magento 2.0 there is a possibility to import custom options from the box.
To start, we can create a custom option for the product and save the product.
After that we can import the custom option created for any other product.
Select any product and enter the Custom options section, then select import custom options.
You will see the list of products from which you can import custom options.
Select the necessary product and import it.