Why there is no any server logs in my CWP?

Started by winsonet, August 28, 2015, 02:12:05 PM

Previous topic - Next topic

winsonet

I know the default server logs will be save in below folders:

/var/log/httpd
/var/log/cwp

but the problem is there's  no file can be update in these folders, so when my website occur 500 error, I also can't find any logs, I tried to set the folder's user right but still can't work, any ideas?

Thanks!

winsonet

Ok, I solved this issue by create the log for each website, so set the log config under each VirtualHost as below:


ErrorLog "/home/www/error.log"
CustomLog "/home/www/custom.log" common

but still don't know why there is no log in common log folder~

brijendrasial