[logsd] Added buffer protection, f=50hz, flushing every 5s