Logtail

@carlosperello @jsoucheiron @bassdread for review
This copies how it's done elsewhere so I'd suggest keeping it like this for now, and if we want to change it then do it as a separate commit/PR across the whole agent