LogParser can handle one SIGTERM signal (Control+C) and continue parsing logs. In this scenario, the log file created with the original logs was overwritten since the _parse_log function was called twice. Also, we weren't closing this file and that could lead to issues.
LogParser can handle one SIGTERM signal (Control+C) and continue parsing logs. In this scenario, the log file created with the original logs was overwritten since the
_parse_log
function was called twice. Also, we weren't closing this file and that could lead to issues.