To view CentOS HTTP error logs
The following should apply to most Apache servers. You can use this to view the errors from your Python scripts. Use Putty or your server’s console To view the last few entries of the HTTP error log file use – tail /var/log/httpd/error_log