First working version

tried examples/loggly-appender.js [OK]