node-syslog icon indicating copy to clipboard operation
node-syslog copied to clipboard

typo line 65 of node-syslog.js

Open Floehe opened this issue 12 years ago • 1 comments

Hi,

on line 65 of node-syslog.js you still have a typo saying "faculty" instead of "facility", resulting in messages being sent as "kern.emerg", popping up all over in the console.

64: this.connect(function (e) {

  • 65: var pri = '<' + ((that.options.faculty * 8) + severity) + '>'; // Message priority
  • 65: var pri = '<' + ((that.options.facility * 8) + severity) + '>'; // Message priority 66: var entry = pri + [

Floehe avatar Jan 24 '14 14:01 Floehe

Looks like the author didn't gave much of a :hankey: about this anymore. Fork ahead..

19h avatar Mar 18 '15 13:03 19h