This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from re import compile, search | |
from sys import exit | |
from time import strptime | |
from datetime import datetime, timedelta, tzinfo | |
#change this variable to point to the location of the apache access log file | |
LOG_FILE_LOCATION = '/var/log/httpd/access_log' | |
LINES_PROCESSED = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A warning occurred (42 apples) | |
An error occurred |