LearnBoost / cluster

Node.JS multi-core server manager with plugins support.
http://learnboost.github.com/cluster
MIT License
2.29k stars 159 forks source link

"redirect" log entrys #119

Open gernotger opened 13 years ago

gernotger commented 13 years ago

I use following simple module to send my logentrys to a central loggingserver (http://graylog2.org/): https://github.com/egorFiNE/node-graylog

There I have to use log("my logentry"); to send log messages. Is there a way to let cluster log like this?

tj commented 13 years ago

you can take a look at the logger plugin and duplicate that, but use your own log functions, cluster just emits events