[Groonga-commit] droonga/express-droonga at 9aee868 [master] Inherit logger correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 5 16:29:00 JST 2014


YUKI Hiroshi	2014-11-05 16:29:00 +0900 (Wed, 05 Nov 2014)

  New Revision: 9aee868daaf5a062504df7a2ff9243697ca38c24
  https://github.com/droonga/express-droonga/commit/9aee868daaf5a062504df7a2ff9243697ca38c24

  Message:
    Inherit logger correctly

  Modified files:
    lib/serf/agent.js

  Modified: lib/serf/agent.js (+2 -1)
===================================================================
--- lib/serf/agent.js    2014-11-05 16:27:41 +0900 (b89dbbc)
+++ lib/serf/agent.js    2014-11-05 16:29:00 +0900 (b77f752)
@@ -65,7 +65,8 @@ Agent.prototype.start = function() {
     if (this._serf.charAt(0) == '/' &&
         !fs.existsSync(this._serf)) {
       this._logger.info('Serf command is not found. Install Serf automatically.');
-      new Downloader().saveTo(path.dirname(this._serf))
+      new Downloader({ logger: this._logger })
+        .saveTo(path.dirname(this._serf))
         .then((function() {
           this.start().then(resolve).catch(reject);
         }).bind(this))
-------------- next part --------------
HTML����������������������������...
下载 



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