fixes bug

This commit is contained in:
Zachary Boyd 2017-04-05 20:53:57 -04:00
parent 0237d1dc3f
commit 2144ebf4b0
2 changed files with 2 additions and 2 deletions

View file

@ -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": {

View file

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