bytesource Posted June 29, 2013 Share Posted June 29, 2013 Hi all, When I checked my log file at site/assets/logs/errors.txt I realized that the last entry was from months ago. Is there anything I can do to have all errors get logged? Cheers, Stefan Link to comment Share on other sites More sharing options...
teppo Posted June 29, 2013 Share Posted June 29, 2013 Have file permissions by any chance changed -- ie. does whatever user your web server is running as have write access there etc.? That would probably be the most common reason for something like this. If you're not sure which user that would be and your site is running on Linux, "ps aux | grep apache" (or echo shell_exec("whoami") in any PHP file) will give you good idea. .. oh, and of course there's always the possibility that there simply haven't been any errors .. 3 Link to comment Share on other sites More sharing options...
bytesource Posted June 29, 2013 Author Share Posted June 29, 2013 Hi teppo, Thanks for pointing me to the permissions. I found that for some reason errors.txt was not part of the www-data group. After fixing that problem, errors got logged again. Thanks again for your help! Cheers, Stefan Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now