What is a log? Well, imagine following someone around all day and writing down everything they do and recording the time/date they did it. For example,
12:05 p.m. 09/19/2019—Tom picked up a pen. 12:06 p.m. 09/19/2019—Tom put down the pen. 12:07 p.m. 09/19/2019—Tom is looking in my direction with annoyance. 12:08 p.m. 09/19/2019—Tom has placed his hands around my neck. 12:09 p.m. 09/19/2019—Tom is beginning to tighten the grip he has around my neck. 12:10 p.m. 09/19/2019—Tom…cutting…off…air…supply…..
End of log file.
The above would be a Log file regarding Tom’s actions. Now, I see Tom picked up a pen, but why? What did Tom write? Well, maybe the notebook Tom scribbled in also has a log file associated with it. I could use this log file to determine what Tom wrote. By consolidating the logs from the notebook along with the logs regarding Tom I can tell at 12:05 p.m. on 09/19/2019, Tom picked up a pen. By looking at the notebook logs, I can see at 12:05 p.m. 09/19/2019, Tom wrote, “Mario is annoying me. If he doesn’t stop, I’m going to lose it!” in the notebook.