...
Changes in this file are related to the format of the recorded datetime. Syslog records the datetime in a different format than local logs. According to the format we will have to do changes to reading the datetime.
Some syslog files are compressed. Even if we can read a compressed file from python, but I would prefer if we decompress it so that rest of the code in PTL for reading files will work without any changes.
...
if sys_log_file == compressed
decompress_file_to_text()
_sys_log_path_ = decompressed_file_path
2) Date format.
Change regular expression ‘tm_re ’ to match the date format of the syslog file.
...