Skylar Lowery
3cf1d697e8
Remove GELF flag when capturing custom fields
...
* Logstash (which supports GELF) drops messages with this key
* There's no particular need to keep this key
2015-04-24 11:14:17 -06:00
Gareth Jones
a4d55b3339
fixed up test after merge
2014-07-12 15:11:21 +10:00
Jens John
52b4aa1874
fix uninitialized field error
2014-07-11 19:19:19 +09:00
Jens John
0f51ab1bb3
GELF appender: set version to 1.1
2014-07-10 14:26:27 +09:00
Jens John
5b2d840472
GELF appender: move facility key into a custom field if present
...
At the same time, don't assign a default value as the field is optional
according to the GELF spec v1.1.
2014-07-10 14:07:38 +09:00
Jens John
ca635fc4b9
GELF appender: don't send full_message field
...
According to the GELF spec v1.1 [1], the full_message field in GELF is
optional. The log4js implemention until now has sent identitical
short_message and full_message fields. Since this does not add any new
information to the log message, I suggest that full_message be dropped
from GELF.
--
[1] http://graylog2.org/gelf#specs
2014-07-10 12:17:35 +09:00
Karl Lam
b9bba00d8c
GELF time precision should be millisecond level
2013-09-16 18:31:23 +08:00
Gareth Jones
4dd5989d27
Merge branch 'master' of https://github.com/nomiddlename/log4js-node
...
Conflicts:
test/gelfAppender-test.js
2013-07-08 15:24:29 +10:00
Karl Lam
baaebef2ed
GELF appender - test case covers custom fields, remove unused
...
console.log
2013-07-05 15:28:10 +08:00
Karl Lam
837d007de3
GELF appender can add customFields to config for every message
2013-07-05 11:23:59 +08:00
Karl Lam
be754f0c0e
GELF appender can add custom fields
2013-07-05 10:54:31 +08:00
Gareth Jones
0e5da1d361
moved debug fn out to own module, added tests
2013-06-24 08:51:10 +10:00
Gareth Jones
5d6f00eda4
fixed all lint errors except ones which require refactoring of code
2013-06-04 08:17:36 +10:00
Gareth Jones
a046523804
Moved Logger into separate file, added support for loading appenders outside log4js, removed 'name' from appender requirements
2012-06-01 11:11:07 +10:00
Gareth Jones
38a89dcf3d
manually merged TooTallNate's pull request #62
2012-05-29 16:49:12 +10:00
Gareth Jones
cff20b99e3
added more gelf tests
2012-02-13 08:54:35 +11:00
Gareth Jones
0a422e5749
fixed up gelf tests
2012-02-10 18:14:50 +11:00
Arif Amirani
9bad070b8a
Changed tests to not use live udp server as it fails on CI
2012-01-13 13:00:53 +05:30
Arif Amirani
5bdeaf68d7
Adding gelf as an appender
2012-01-11 16:12:24 +05:30