What is a log?

A log is a file in which all system information about the operation of a server or computer is recorded in chronological order with relation to certain actions of a user or program. Log files are used to analyze the site, activity and user behavior, to evaluate the effectiveness of an advertising campaign. They allow you to detect malicious activity or detect errors.