What is "logging"

Logging is an expression used to describe the process of recording relevant events in a computer system.

This record can be used to restore the original state of a system or for an administrator to know its behavior in the past.

A log file can be used to audit and diagnose problems in computer systems.

In addition, the logs have great importance for the Information Technology Law. The possibility of identifying the authorship of actions in the virtual environment, allowing the accountability of the authors, is only possible through the analysis of logs.

Logs can also be understood as digital evidence.

Source: Data log - Wikipedia