Pass in all appender parameters to the Hook constructor so a port can be specified

This commit is contained in:
Danny Brain
2011-10-28 10:07:48 +11:00
parent 07e920cc1b
commit ced570413c
3 changed files with 11 additions and 9 deletions

View File

@@ -157,6 +157,7 @@ This was mainly created for [cluster](https://github.com/LearnBoost/cluster), bu
.use(cluster.pidfiles('run/pids'))
.listen(3000);
</pre>
log4js-master/worker.json hookio appender parameters will be passed into the Hook constructor directly, so you can specify hook-port, hook-host etc.
*NOTE* hook.io appender will currently (and probably indefinitely) explode if you enable hook.io debug because of the way log4js overrides console.log
## author (of this node version)