Socket
Socket
Sign inDemoInstall

node-syslog

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-syslog

Node module to support sending messages to syslog daemon


Version published
Weekly downloads
22
increased by144.44%
Maintainers
1
Weekly downloads
 
Created
Source

Node-Syslog

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:

  • node.js v0.8.16
  • version v0.9.3
  • metalog
  • syslog-ng 3.1.1

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.

Authors

  • Nazar Kulyk
  • Jeremy Childs
  • Sam Roberts
  • Ben Noordhuis

Installation

npm

  npm install node-syslog

manual

  git clone
  node-gyp configure build

Usage

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

Package last updated on 16 Apr 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc