Permalink
Browse files

fixed syslog codes to comply with rfc 5424

  • Loading branch information...
1 parent cb518af commit 35f750a77babf07f68c9853fe3e73d7908104e9d @hamtie committed Feb 10, 2012
Showing with 9 additions and 9 deletions.
  1. +9 −9 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'
-};
+};

0 comments on commit 35f750a

Please sign in to comment.