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'); }