263 Commits

Author SHA1 Message Date
Gareth Jones
c478c53db1 Fix for #397 - multiprocess shutdown 2016-12-21 08:24:09 +11:00
Gareth Jones
99571a5c9a added passing shutdown function to addAppender, also added enableLogWrites call to clearAppenders 2016-12-15 08:17:44 +11:00
Chi Thu Le
9eb0f9dbd0 fix for #315 - Include milliseconds in format ISO8601_WITH_TZ_OFFSET 2016-11-10 10:35:19 +01:00
sparklton
540cd0f886 Merge remote-tracking branch 'refs/remotes/nomiddlename/master'
# Conflicts:
#	test/vows/logFacesAppender-test.js
2016-11-06 09:10:07 +02:00
Gareth Jones
3a627144fb Shutdown now removes the config reload timer (fix for issue #414) 2016-11-04 08:33:40 +11:00
Gareth Jones
f4e361120b fixed broken logstash test 2016-11-03 08:46:56 +11:00
Gareth Jones
281386a30c added test for SIGHUP handler 2016-11-02 08:46:34 +11:00
Gareth Jones
7f078161e4 fixed to use streamroller 2016-11-02 08:08:28 +11:00
Gareth Jones
dc831b8a99 updated streamroller, because 0.1.0 was broken 2016-10-23 12:02:16 +11:00
Gareth Jones
2b84671471 changed default appender to stdout, replaced streams with streamroller, started removal of vows tests 2016-10-23 11:50:53 +11:00
sparklton
e355dce23a Merge remote-tracking branch 'refs/remotes/nomiddlename/master' 2016-08-12 18:04:56 +03:00
sparklton
0288f5cb9a Added HTTP based sending functionality
logFacesAppender can now be used with either UDP or HTTP transport for
sending out logs to server. HTTP option is added to specifically target
client applications running in browsers. UDP option is mostly for using
on server side.
2016-08-12 18:02:40 +03:00
sparklton
702ff3e6a2 Merge remote-tracking branch 'refs/remotes/nomiddlename/master' 2016-08-12 17:59:38 +03:00
Gareth Jones
08315bbfb9 Fix for stack traces appearing twice in node v6 - issue #389 2016-06-15 09:35:08 +10:00
Gareth Jones
60c48a58d7 Merge pull request #390 from AllClassPenguin/custom-levels
Custom levels
2016-06-15 08:06:02 +10:00
Gareth Jones
92333e25e5 Merge pull request #387 from sparklton/master
logFaces appender
2016-06-15 08:02:04 +10:00
Brice Burgess
af8dc5d963 update hipchat appendender test for hipchat-notifier 2016-06-10 12:12:00 -05:00
Blake Ambrose
056575faf4 fixed up lint failure on test 2016-06-08 15:33:20 +10:00
Blake Ambrose
9768e0b470 added additional failure test cases 2016-06-08 15:31:33 +10:00
Blake Ambrose
76d3438b4f added getLevel to retrieve custom level, added additional coverage tests 2016-06-08 14:21:28 +10:00
Blake Ambrose
8e0a0f9f53 Added ability to add custom log levels to client, simillar to log4j for java 2016-06-08 11:51:36 +10:00
sparklton
09621f0e4a correcting tests
use default process id and host name if not supported by the run time
2016-05-23 00:55:21 +03:00
Gareth Jones
30bc960d8a removed extraneous sys require 2016-05-05 16:44:32 +10:00
Gareth Jones
538c34c8f4 fixed a few more jshint problems (turned a couple off as well) 2016-05-05 16:37:15 +10:00
sparklton
0201445006 logFaces appender corrections
Added unit tests and configuration defaults
2016-05-04 14:11:41 +03:00
Gareth Jones
97fc892c00 fixing some jshint errors 2016-04-29 09:11:17 +10:00
Gareth Jones
1c3cf620c5 fixed conflicts in test file 2016-04-29 08:08:07 +10:00
Daniel
ecb1543e2f Appender require fix error. Now mailgun is required on the configure function. This is to avoid not having __config object. Tests have been updated to adapt the changes 2016-04-28 05:17:54 -03:00
Danny Arnold
b7bc123741 add not functional tests for the shutdown handler 2016-04-19 22:25:20 +02:00
Gareth Jones
0007623aa9 Merge pull request #364 from demmer/add-stderr-appender
add a stderr appender
2016-04-15 09:26:53 +10:00
Gareth Jones
eaa972b52e uncommented the failing mailgun test (node 0.8 no longer tested against) 2016-04-15 08:44:01 +10:00
cohi
dddc49794b remove broken mailgunAppender test 2016-03-27 16:53:08 +03:00
cohi
3457199ebc adding slack appender 2016-03-27 16:20:23 +03:00
Michael Demmer
5e64fbd90b add a stderr appender
Thus functions almost identically to the consoleAppender except that
instead of logging through `console.log` it uses `process.stderr.write`.
2016-03-24 14:56:28 -07:00
Justin Gordon
a9f52faa46 Add new appender logglyTagged
This appender allows adding tags to any call to the logger.

Documentation added:

Loggly Appender. Sends logging events to Loggly using node-loggly,
optionally setting tags.

This appender will scan the msg from the logging event, and pull out
any argument of the shape `{ tags: [] }` so that it's possible
to add tags in a normal logging call. If an object contains tags and
other members, that object is not used for loggly tagging.

For example:

logger.info({ tags: ['my-tag-1', 'my-tag-2'] }, 'Some message', someObj, ...)

And then this appender will remove the tags param and append it to the config.tags.
2016-03-03 18:44:43 -10:00
Chris Potter
3a6f670be8 Add hipchat and hipchat-test according to mailgun appender. 2016-02-11 17:13:05 -05:00
chewax
df961350bc Feature/MailGunAppender 2016-01-29 17:03:35 -02:00
Hugues Malphettes
3be1c25455 Replace async by native recursions 2016-01-15 11:59:47 +08:00
Guillaume Chauvet
9df030c32c Fix typo 2015-11-27 15:10:52 +01:00
Guillaume Chauvet
e789df9884 Unitary test for sending logs as email attachment instead of body content 2015-11-27 14:29:59 +01:00
Guillaume Chauvet
e929d6f05f Format source code 2015-11-23 11:32:22 +01:00
Guillaume Chauvet
a4331b9a96 Remove a useless assertion 2015-11-18 16:09:24 +01:00
Gareth Jones
1c67be5203 manual merge of jumpgh-master (pull request #331) 2015-11-06 08:42:33 +11:00
Alexei Tarnakin
5e428cb58e Returned layout support in logstashUDP appender. Tests added 2015-10-30 16:15:18 +03:00
Alexei Tarnakin
ad2499e74b updated tests for logstash udp appender 2015-10-29 16:51:20 +03:00
Sergey Maskalik
84611d9963 Add test for category 2015-10-12 14:00:21 -07:00
Gareth Jones
1d463d81e1 Merge pull request #306 from gabe0x02/master
hook to add cusotm layouts
2015-09-22 08:39:12 +10:00
Gareth Jones
b37c171e5c Merge pull request #305 from pmalouin/patch-1
clustered appender - Unwrap the serialized errors
2015-09-22 08:28:16 +10:00
Edward Zborowski
2642c89070 Added a extra sandbox requires to get tests passing 2015-07-08 22:43:51 -04:00
Edward Zborowski
3b6c631b83 Created tests for new smtp transport option 2015-07-08 21:20:29 -04:00