3

I wanted to create logs of upgrade command under var/log folder:

php bin/magento setup:upgrade

Please help me.

5

You can use below command:

bin/magento setup:upgrade >> /var/www/html/magento2/var/log/update.cron.log

It may help you.

  • It worked. Thankyou :) – temper Dec 3 at 4:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.