[Groonga-commit] droonga/express-droonga at 7c67a56 [master] Fix Serf agent's log level to INFO.

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 5 13:06:31 JST 2014


YUKI Hiroshi	2014-11-05 13:06:31 +0900 (Wed, 05 Nov 2014)

  New Revision: 7c67a5604c05fd513f1827b89f80471b9e7477d4
  https://github.com/droonga/express-droonga/commit/7c67a5604c05fd513f1827b89f80471b9e7477d4

  Message:
    Fix Serf agent's log level to INFO.
    
    Because the agent wrapper detects events based on INFO-level logs.

  Modified files:
    lib/serf/agent.js

  Modified: lib/serf/agent.js (+1 -4)
===================================================================
--- lib/serf/agent.js    2014-11-05 13:05:55 +0900 (c581d2d)
+++ lib/serf/agent.js    2014-11-05 13:06:31 +0900 (12b5ec7)
@@ -87,15 +87,12 @@ Agent.prototype.start = function() {
 };
 
 Agent.prototype.tryStart = function() {
-  var eventHandlerPath = path.join(__dirname, '..', '..', 'bin',
-                                     'express-droonga-serf-event-handler');
   var agentArgs = [
     'agent',
     '-node', this._nodeName,
     '-bind', this._hostName + ':' + BIND_PORT,
     '-rpc-addr', this._hostName + ':' + RPC_PORT,
-    // '-event-handler', eventHandlerPath,
-    // '-log-level', this._logLevel,
+    '-log-level', 'INFO',
     '-tag', 'role=protocol-adapter'
   ];
   this._otherMembers.forEach(function(address) {
-------------- next part --------------
HTML����������������������������...
Download 



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