Skip to content

Commit

Permalink
LOG-1494: Fix syslog serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
vimalk78 committed Sep 2, 2021
1 parent 61b666f commit 2dcb598
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@ def close
end

def format(tag, time, record)
require 'json'
r = inject_values_to_record(tag, time, record)
@formatter.format(tag, time, r)
r.to_json << "\n"
end

def write(chunk)
Expand Down

0 comments on commit 2dcb598

Please sign in to comment.