Error logs provide analysis of errors that occurred for people who are trying to access your web site and shows up as a file called error-log in your home directory.
For example, if someone received a file not found error while at your web site, information about the missing file and what time it was attempted to be accessed would appear in this log file. Useful warnings about warnings and errors in PHP scripts appear here as well.