Permalink
Browse files

Support setting the full/long message

  • Loading branch information...
1 parent 2d7a743 commit 8dc0b3908c9f1cb0bf43bb82d91aa9aa0c7ca77c @pquerna committed Jun 24, 2011
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/graylog.js
View
@@ -80,7 +80,12 @@ exports.logstr = function(module, level, message, obj) {
for (var i in obj) {
if (obj.hasOwnProperty(i)) {
- l["_" + i] = obj[i];
+ if (i == 'full_message') {
+ l['full_message'] = obj[i];
+ }
+ else {
+ l["_" + i] = obj[i];
+ }
}
}
}

0 comments on commit 8dc0b39

Please sign in to comment.