lib/semantic_logger/appender/splunk.rb in semantic_logger-4.15.0 vs lib/semantic_logger/appender/splunk.rb in semantic_logger-4.16.0

- old
+ new

@@ -99,13 +99,13 @@ # After forking an active process call #reopen to re-open # open the handles to resources def reopen # Connect to splunk. Connect is a synonym for creating a Service by hand and calling login. - self.service = Splunk.connect(config) + @service = ::Splunk.connect(config) # The index we are logging to - self.service_index = service.indexes[index] + @service_index = service.indexes[index] end # Log the message to Splunk def log(log) event = formatter.call(log, self)