We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08c5244 commit c0a4e73Copy full SHA for c0a4e73
lib/fluent/plugin/out_azure-loganalytics.rb
@@ -90,11 +90,11 @@ def write(chunk)
90
begin
91
res = @client.post_data(@log_type, records, @time_generated_field)
92
if not Azure::Loganalytics::Datacollectorapi::Client.is_success(res)
93
- $log.fatal "DataCollector API request failure: error code: "
+ log.fatal "DataCollector API request failure: error code: "
94
+ "#{res.code}, data=>" + records.to_json
95
end
96
rescue Exception => ex
97
- $log.fatal "Exception occured in posting to DataCollector API: "
+ log.fatal "Exception occured in posting to DataCollector API: "
98
+ "'#{ex}', data=>" + records.to_json
99
100
0 commit comments