elastic / elastic/logstash

implement proper Event#inspect

Open
#4,586 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

The java event does not have an `inspect` method. it actually defaults to `to_s` which is not sufficient for debugging or error logging purposes.

```
@logger.error(:event => event)
```

should output more information that just the `to_s` representation of the event. The good news is that we get to correct the previous behaviour which actually ended in dumping the Event data multiple times because of the inner Accessors class referencing back into the Event.

relates to #4428

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.