Note about local storage trade-off: you may move this responsibility to a tool like rsyslog which will natively handle things like buffer and retries