Closed rcrd88 closed 13 years ago
in the case above it should write to the worker access log, my examples that have logger() do this, and they do work, the test passes as well
master itself will still output to stdout/stderr
sorry, it actually do write to workers.access.log.
and it would be useful output message in the console for easy debuging. :)
Thanks very much!
if you need that then just comment out the logger() line, or add it conditionally when in development
Thanks very much, it worked!
I am using latest Express with cluster, my node version is v0.4 var cluster = require('cluster'); var express = require('express'); var app = module.exports = express.createServer();
It doestn't output the message using console.log() in the console or master.log or workers.access.log. I am not sure it is a bug or by design? Thanks