nodejs simple log monitoring