shunanya / Node.js-monitoring

The Monitis Node.js servers monitor
24 stars 4 forks source link

log4js #1

Open sentient opened 9 years ago

sentient commented 9 years ago

Is it possible just to confure a log4js appender to push this data? It seems that my existing log4js appenders are being dropped.

shunanya commented 9 years ago

Sure, you can configure it as you wish ( for details look into https://github.com/nomiddlename/log4js-node) by using any desired technique. Moreover you can use 'console' instead of logger. But, i'm strongly recommending to use the suggested logger - it's just easiest way in my opinion. Please note only that the log file (just dummy) should be prepared beforehand - it's required unfortunately.

sentient commented 9 years ago

I'm very familiar with log4js it is just that my existing log4js appenders (e.g. the gelf appender) stops working when using the Node.js monitoring.

So is Node.js-montiroing using the UDP appender?

shunanya commented 9 years ago

I'm sorry for this misapprehension. I would like to say that I'm using the file appenders only. The network connection is used to cooperate with Bash script - to send accumulated monitored data into.

On Tue, Jul 21, 2015 at 9:57 AM, Sentient notifications@github.com wrote:

I'm very familiar with log4js it is just that my existing log4js appenders (e.g. the gelf appender) stop working when using the Node.js monitoring.

So is Node.js-montiroing using the UDP appender?

— Reply to this email directly or view it on GitHub https://github.com/shunanya/Node.js-monitoring/issues/1#issuecomment-123173794 .