lib/semantic_logger/appender/splunk.rb in semantic_logger-4.5.0 vs lib/semantic_logger/appender/splunk.rb in semantic_logger-4.6.0.beta1

- old
+ new

@@ -125,9 +125,10 @@ host: logger.host, time: log.time.utc.to_f, message: h.delete(:message), event: h } + message[:environment] = logger.environment if logger.environment message[:sourcetype] = source_type if source_type message end end end