Skip to content

Commit

Permalink
Prefer $PROCESS_ID from the stdlib 'English' module
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunne committed Jun 22, 2017
1 parent 0183095 commit 36ec68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gems/pending/util/vmdb-logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class Formatter < Logger::Formatter
def call(severity, time, progname, msg)
msg = prefix_task_id(msg2str(msg))

FORMAT % [severity[0..0], format_datetime(time), $$, Thread.current.object_id, severity, progname, msg]
FORMAT % [severity[0..0], format_datetime(time), $PROCESS_ID, Thread.current.object_id, severity, progname, msg]
end

private
Expand Down

0 comments on commit 36ec68f

Please sign in to comment.