A log file is usually a text file which is generated by a software process to record some specific details (events) about the workings of this process.
A log file can be categorized into several types:
- Access log which records information related to the usage of service provided by this process.
- Error log which records error conditions.
- Info/Debug log which records more detailed information as compared with other logs.
The main two goals of creating and maintaining log files are:
- Finding and debugging problems.
- Gathering usage information.