splunk-sdk-python icon indicating copy to clipboard operation
splunk-sdk-python copied to clipboard

</stream> written without <stream>

Open Jaykul opened this issue 12 years ago • 2 comments

If there's an error early in the process (which I handle and .log())

I get an ERROR to stderr, and then a tag to stdout....

The writer should write the opening tag during init -- this would have a beneficial side effect of making this whole thing more threadsafe.

Jaykul avatar May 09 '14 23:05 Jaykul

Good catch. I'll file a bug internally and we'll hopefully get it fixed in the next release.

madhadron avatar May 14 '14 16:05 madhadron

Writing the tag without writing an event would cause a problem if the EventWriter only wrote to the log and not an actual event.

stelles avatar Aug 25 '14 18:08 stelles