cancel
Showing results for 
Search instead for 
Did you mean: 

Magento Log file is not createed

Magento Log file is not createed

Hi,

 

I have installed Magento 1.9.2.2  and in my log folder there aren't system.log and exception.log files.

To get error log file I enabled on this menu Configuration >Developer > Log Settings > Enabled=Yes

and created /var/log folder and set the permission 777.

There is no file on the var/log folder Smiley Sad

Can I know the reason why the error log file is not created and how to solver?

 

Thanks!

 

3 REPLIES 3

Re: Magento Log file is not createed

Try to set 777 permission recursively on var  chmod -R 777 var/  may be its work.

Re: Magento Log file is not createed

Enabling logging in not enough. Both system.log and exceptions.log are created once you have something to put there -- usually when something goes wrong. In perfect world neither of those files has reason to exist.

Tanel Raja

Re: Magento Log file is not createed

Error logs are always created in case something goes wrong, just make sure you have done:

1. Enabled logging from Magento Configuration.

2. 777 permission has been given to /var