Log is a record that records all activities an application is run. sometimes Logs are also used to analyze the status of an application. Log files are files that are on a system which are important files that always record all events (activities) that take place on the system.
This file is very important on a system to make it easier for us, especially admins to check and trace various problems that occur, with the admin log file it is easy to find a bug, sources of attack, and damage that occurs to the system caused, even though we don't know how to fix the damage.