Commit Graph
13 Commits
Author SHA1 Message Date
Jim Kelly 032a1aa799 Fixes issue introduced in 482f166 where the tracer spams when
unconfigured.

In the aforementioned commit, the existing behavior was changed,
I believe in advertantly, to set propagate to False if the
trace logger already has been configured. This seems to be the
opposite of the internet, and this change restores what appears
to have been the intent, and silences the tracer unless
it has been configured, in which case it will propagate.
2015-04-28 22:32:57 +02:00
Honza Král 42b4cfd3aa Get ready for the structured exceptions coming in es 2.0 2015-04-27 20:40:55 +02:00
Honza Král 72d24906d7 Clarifying connection parameters.
Fixes #171 Thanks DavidAwad!
2014-12-30 17:21:22 +01:00
j0hnsmithandHonza Král 482f166c1a set propagate=False on elasticsearch.trace only if logger not already configured 2014-12-09 15:31:19 +01:00
Honza Král cb68308abf Body in the logs should be debug-level
Fixes #119, thanks traxair!
2014-09-10 16:24:44 +02:00
Andrew SnareandHonza Král 4d37a54c95 Use simplejson if present instead of the stdlib json module.
The simplejson parser drop-in compatible with the builtin python JSON
parser, but much faster. In particular, this makes operations like
reindexing quicker.
2014-06-25 10:21:36 +02:00
Honza Král f10d7f2da2 Body is always sent as utf-8 bytes, reflect it in tests
Thanks johbo for the report!
2014-05-09 18:11:50 +02:00
Honza Král c2611e92eb Set timeout properly for Requests and Thrift connections 2014-01-23 08:48:42 +01:00
Honza Král be9acfad90 Make sure we handle quotes correctly in the trace logger 2013-12-11 14:41:42 +01:00
Honza Král 19f9eaab95 Make sure bulk requests are logged correctly 2013-12-03 02:04:11 +01:00
Honza Král c5c98dcaac Add logging of body as INFO on connection error 2013-12-03 01:55:32 +01:00
Honza Král b8b9f67092 Logging fixes 2013-11-03 22:39:03 +01:00
Honza Kral e91ed68bd0 Split individual connection classes 2013-08-25 16:39:56 +02:00