From 2144ebf4b05f5d2138975dd651fa5d689da73385 Mon Sep 17 00:00:00 2001 From: Zachary Boyd Date: Wed, 5 Apr 2017 20:53:57 -0400 Subject: [PATCH] fixes bug --- package.json | 2 +- src/TorProcess.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 54c423d..eb0783f 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "tor-router": "bin/tor-router" }, "scripts": { - "start": "bin/tor-router -l debug", + "start": "bin/tor-router -l debug -s -d -j 3", "test": "mocha test/test.js" }, "devDependencies": { diff --git a/src/TorProcess.js b/src/TorProcess.js index ad1ff98..55c8c21 100644 --- a/src/TorProcess.js +++ b/src/TorProcess.js @@ -31,7 +31,7 @@ class TorProcess extends EventEmitter { } new_ip() { - this.log.info(`[tor-${this.process.pid}]: has requested a new identity`); + this.logger.info(`[tor-${this.process.pid}]: has requested a new identity`); this.process.kill('SIGHUP'); }