Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
node-syslog
Advanced tools
v1.2.0
This is a node module (add-on) to work with syslog (system log) daemon on unix systems. This module has been tested with:
Read the setMask wiki page for using the setMask
functionality.
The current version is compatible to node 0.8.x and higher. For older node.js versions, please use node-syslog v1.0.3
Node-syslog does not officially support Darwin OS and MS Windows but should work fine.
npm install node-syslog
git clone
node-gyp configure build
For more information about how to use module check test.js
var Syslog = require('node-syslog');
Syslog.init("node-syslog", Syslog.LOG_PID | Syslog.LOG_ODELAY, Syslog.LOG_LOCAL0);
Syslog.log(Syslog.LOG_INFO, "Node Syslog Module output " + new Date());
Syslog.close();
Check your /var/log/messages (syslog, syslog-ng), or /var/log/everything/current (metalog) file for any test entry.
FAQs
Node module to support sending messages to syslog daemon
The npm package node-syslog receives a total of 14 weekly downloads. As such, node-syslog popularity was classified as not popular.
We found that node-syslog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.