google / turbinia

Automation and Scaling of Digital Forensics Tools
Apache License 2.0
750 stars 163 forks source link

Refactor log tail method #1535

Closed jleaniz closed 3 months ago

jleaniz commented 3 months 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 months ago

@wajihyassine FYI should fix what we discussed last week.

hacktobeer commented 3 months ago

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