From 742189985d2a1dba9dae1d00bd165e064a4298ed Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 8 Jul 2013 11:54:37 -0400 Subject: [PATCH] Not exploding when logstash agent isn't available --- logstash/sirgoldenvoncrispywhite/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logstash/sirgoldenvoncrispywhite/main.go b/logstash/sirgoldenvoncrispywhite/main.go index 3918884..fa3d0e7 100644 --- a/logstash/sirgoldenvoncrispywhite/main.go +++ b/logstash/sirgoldenvoncrispywhite/main.go @@ -44,7 +44,7 @@ func newLogstashLogger() (*golog.Logger, error) { logger := golog.NewLogger("") tcpProcessor, err := golog.NewTcpProcessorAt(":55784", golog.LOG_DEBUG) if err != nil { - return nil, err + log.Printf("WARNING: %+v\n", err) } logger.AddProcessor("tcp", tcpProcessor)