How to enable exception.log and system.log in Magento database?

前端 未结 3 1636
别跟我提以往
别跟我提以往 2021-01-05 01:38

In Magento how do I enable exception.log and system.log at the database level?

I know I can do it through admin backend (which I do

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-05 02:18

    Check folder permissions. You need to give permissions for the user that is running apache.

    In my case just the sub directory "log" was not owned by the running apache user.

    My apache user is bitnami:daemon...

    So for me the solution was:

    sudo chmod -R 777 var/
    sudo chown -R bitnami:daemon var/
    

提交回复
热议问题