google / turbinia

Automation and Scaling of Digital Forensics Tools
Apache License 2.0
735 stars 161 forks source link

Refactor log tail method #1535

Closed jleaniz closed 3 weeks ago

jleaniz commented 3 weeks ago

Description of the change

Fix an issue with the tail helper method used by the API server to read log data.

Applicable issues

Additional information

Checklist

jleaniz commented 3 weeks ago

@wajihyassine FYI should fix what we discussed last week.

hacktobeer commented 3 weeks ago

LGTM although still a bit sad you are not just using subprocess and tail -[NUM_LINES ;)