Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tycooon committed Apr 17, 2024
1 parent cb8efe6 commit 0b06a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/umbrellio_utils/semantic_logger/tiny_json_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def pack_data(log)
# Calculates MD5 fingerprint for the thread in which the log was made.
# @return [String] truncated `MD5` hash.
def thread_fingerprint_for(log)
Digest::MD5.hexdigest("#{log.thread_name}#{Process.pid}")[0...8]
"#{log.thread_name}-#{Process.pid}"
end

# Renders either exception or message of the log.
Expand Down

0 comments on commit 0b06a42

Please sign in to comment.