Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Home

schamane edited this page · 6 revisions
Clone this wiki locally

Welcome to the node-syslog wiki!

Node-syslog is my first try to write node addon. With this addon you can write log messages to the system log daemon like syslogd, metalog or syslog-ng.


var Syslog = require('node-syslog');

Syslog.init( "applicationName", Syslog.LOG_PID | Syslog.LOGODELAY, Syslog.LOG_LOCAL0);
Syslog.log( "Hallo World!" );

Now check your local system log files for the new entry. (/var/log/*)

Something went wrong with that request. Please try again.