what happen if i delete the system.log file in Magento 2?

can create a new empty system.log file?

could anyone know?

1 Answer 1


Nothing to worry the system.log file will be recreated automatically again when you reload your website. The var/log directory should have the proper write permission (0755/0777)

  • how i can reload my site Commented Jun 29, 2019 at 7:07
  • 1
    simply click the refresh button in your browser or press f5 key in your keyboard
    – mydons
    Commented Jun 29, 2019 at 7:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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