lib/service_skeleton/config.rb in service_skeleton-0.0.0.30.g32b8169 vs lib/service_skeleton/config.rb in service_skeleton-0.0.0.34.g4f6fdb0
- old
+ new
@@ -73,10 +73,10 @@
@logger.formatter = ->(s, t, p, m) do
th_n = thread_id_map[Thread.current.object_id] || (thread_id_map[Thread.current.object_id] = thread_id_map.length)
ts = log_enable_timestamps ? "#{t.utc.strftime("%FT%T.%NZ")} " : ""
- "#{ts}##{th_n} #{s[0]} [#{p}] #{m}\n"
+ "#{ts}#{$$}##{th_n} #{s[0]} [#{p}] #{m}\n"
end
@logger.filters = []
@env.fetch("#{@svc.service_name.upcase}_LOG_LEVEL", "INFO").split(/\s*,\s*/).each do |spec|
if spec.index("=")