> > What about queuing > I cannot edit my post so a new answer here with more explanation: Just have a RabbitMQ or whatever in between and every logging sends a message to it while the logging service consumes it. As long as the logging service is down the messages remain in the queue.
Your retry approach has another doownside: What if the logging service is down for minutes or even hours? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.