lib/semantic_logger/appender/mongodb.rb in semantic_logger-2.8.0 vs lib/semantic_logger/appender/mongodb.rb in semantic_logger-2.9.0
- old
+ new
@@ -139,10 +139,10 @@
def default_formatter
Proc.new do |log|
document = {
:time => log.time,
:host_name => host_name,
- :pid => $PID,
+ :pid => $$,
:thread_name => log.thread_name,
:name => log.name,
:level => log.level,
:level_index => log.level_index,
}
\ No newline at end of file