Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed syslog codes to comply with rfc 5424

  • Loading branch information...
commit 35f750a77babf07f68c9853fe3e73d7908104e9d 1 parent cb518af
@fouasnon authored
Showing with 9 additions and 9 deletions.
  1. +9 −9 lib/winston/config/syslog-config.js
View
18 lib/winston/config/syslog-config.js
@@ -9,14 +9,14 @@
var syslogConfig = exports;
syslogConfig.levels = {
- debug: 0,
- info: 1,
- notice: 2,
- warning: 3,
- error: 4,
- crit: 5,
- alert: 6,
- emerg: 7
+ debug: 7,
+ info: 6,
+ notice: 5,
+ warning: 4,
+ error: 3,
+ crit: 2,
+ alert: 1,
+ emerg: 0
};
syslogConfig.colors = {
@@ -28,4 +28,4 @@ syslogConfig.colors = {
crit: 'red',
alert: 'yellow',
emerg: 'red'
-};
+};
Please sign in to comment.
Something went wrong with that request. Please try again.