From e44516133310d9be029c4fd7561d95131149f3af Mon Sep 17 00:00:00 2001 From: Drew Perttula Date: Sun, 23 Sep 2012 00:02:17 -0700 Subject: [PATCH 1/2] api typo --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 96775a9..01b1638 100644 --- a/README +++ b/README @@ -8,7 +8,7 @@ from the LogRecord will be included in the @fields section of the event. to configure: -handler = LogstashHandler(connect_strings=['tcp://127.0.0.1:2120'], fields=["thread"]) +handler = LogstashHandler(connect_string=['tcp://127.0.0.1:2120'], fields=["thread"]) This will configure the handler to publish to 127.0.0.1 port 2120. Multiple hosts can be specified. From a182ac3f2004546ede37d21b1b276ac6f55d5721 Mon Sep 17 00:00:00 2001 From: Drew Perttula Date: Sun, 23 Sep 2012 00:06:22 -0700 Subject: [PATCH 2/2] Update README --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index 01b1638..f5b6597 100644 --- a/README +++ b/README @@ -8,7 +8,7 @@ from the LogRecord will be included in the @fields section of the event. to configure: -handler = LogstashHandler(connect_string=['tcp://127.0.0.1:2120'], fields=["thread"]) +handler = LogstashHandler(connect_string='tcp://127.0.0.1:2120', fields=["thread"]) This will configure the handler to publish to 127.0.0.1 port 2120. Multiple hosts can be specified.