lib/loggerstash.rb in loggerstash-0.0.7 vs lib/loggerstash.rb in loggerstash-0.0.8
- old
+ new
@@ -146,9 +146,10 @@
"@metadata": { event_type: "loggerstash" },
message: m,
severity_name: s.downcase,
hostname: Socket.gethostname,
pid: $$,
+ thread_id: Thread.current.object_id,
caller: {
absolute_path: caller.absolute_path,
base_label: caller.base_label,
label: caller.label,
lineno: caller.lineno,