I am using Magento ver 184.108.40.206 and I have log settings enabled in admin panel, but when I delete the existing "log" dir and whenever I call log function like
Mage::log(print_r($anyData, true),NULL, 'dataprint.log'); and then when I go to log directory, it shows message "You don't have permissions to view content of this folder" in ubuntu 14.04.
Is this permission/ownership issue ?
Previously this issue wasn't there, also other folders and files permissions are fine but i can't access log without everytime giving command "chmod 777" to var/log directory.
Also if I do not delete "var/log" folder and it's files and just clear out it's files's contents, even then when I try to make new entry into log files(by calling log function) it doesn't allow me too.
Can somebody help me out here ?