Author Topic: Why there is no any server logs in my CWP?  (Read 6941 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Why there is no any server logs in my CWP?
« on: August 28, 2015, 02:12:05 PM »
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!

Offline
*
Re: Why there is no any server logs in my CWP?
« Reply #1 on: August 31, 2015, 01:54:06 PM »
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~

Re: Why there is no any server logs in my CWP?
« Reply #2 on: August 31, 2015, 07:55:48 PM »
/usr/local/apache/logs/