Control Web Panel

WebPanel => CentOS 6 Problems => Topic started by: winsonet on August 28, 2015, 02:12:05 PM

Title: Why there is no any server logs in my CWP?
Post by: winsonet 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!
Title: Re: Why there is no any server logs in my CWP?
Post by: winsonet 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~
Title: Re: Why there is no any server logs in my CWP?
Post by: brijendrasial on August 31, 2015, 07:55:48 PM
/usr/local/apache/logs/