[Groonga-commit] droonga/fluent-plugin-droonga at c3b1e5b [master] Output pid and caller on emit trace

Back to archive index

Yoji Shidara null+****@clear*****
Wed Oct 30 18:00:58 JST 2013


Yoji Shidara	2013-10-30 18:00:58 +0900 (Wed, 30 Oct 2013)

  New Revision: c3b1e5b561ed3308a3720d153240a63ed257a547
  https://github.com/droonga/fluent-plugin-droonga/commit/c3b1e5b561ed3308a3720d153240a63ed257a547

  Message:
    Output pid and caller on emit trace

  Modified files:
    lib/droonga/engine.rb

  Modified: lib/droonga/engine.rb (+1 -1)
===================================================================
--- lib/droonga/engine.rb    2013-10-29 18:42:47 +0900 (23d28e6)
+++ lib/droonga/engine.rb    2013-10-30 18:00:58 +0900 (3819be6)
@@ -51,7 +51,7 @@ module Droonga
     end
 
     def emit(tag, time, record, synchronous=nil)
-      $log.trace("tag: <#{tag}>")
+      $log.trace("[#{Process.pid}] tag: <#{tag}> caller: <#{caller.first}>")
       @executor.dispatch(tag, time, record, synchronous)
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index