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
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
Gabriel Littman
bba78d9b29
hook to add cusotm layouts
2015-06-16 14:22:07 -07:00
Patrick Malouin
2cdbd60c7e
Add test for the logging event deserialization
2015-06-11 16:20:54 -04:00
Skylar Lowery
1454ae5350
Use isUndefined test method vs equals undefined
...
*doh
2015-04-27 11:01:20 -06:00
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
8360bb732c
Merge pull request #282 from qbrandon/master
...
Add appender-level timezone offset config
2015-04-17 08:10:15 +10:00
alawatthe
57fc9e7aa0
The smtp appender now works with the current version of nodemailer
2015-04-11 12:03:14 +02:00
Quentin Brandon
435f4f320f
Bugfixes: get the unit tests passing again
2015-03-20 18:35:53 +09:00
Christo Fogelberg
41504a755d
test/connect-logger-test.js - tests for custom tokens
2015-03-10 06:37:53 +00:00
Christo Fogelberg
f22621199f
test/connect-logger-test.js - trailing whitespace Sublime removed
2015-03-10 06:24:57 +00:00
Gareth Jones
d31521bac0
Merge pull request #240 from vivocha/vivocha-0.6.20
...
Vivocha 0.6.20
2015-01-10 15:34:31 +11:00
Patrick Hogan
f987990339
added null tests
2014-12-23 19:42:32 -08:00
osher
2f44dbf53e
0.8 compatibility
2014-11-05 11:58:09 +02:00
osher
9da158f945
fix tests - they have to be async!
2014-11-05 11:49:21 +02:00
Marcelo Gornstein
a7a0964803
adding logstash UDP appender
2014-09-10 13:03:21 -03:00
Luis Malheiro
1e999f36d7
Fix and test for MARK level.
2014-09-08 12:17:50 +02:00
Luis Malheiro
17c9b29ca5
Removed property 'level' from the file appender, because that functionality is provided by appender logLevelFilter.
2014-09-08 11:33:22 +02:00
Luis Malheiro
492c45d055
Test for appender using subcategories.
2014-09-08 11:14:00 +02:00
Luis Malheiro
ebbbea198d
Added test to check loggers using sub-categories.
2014-09-02 14:33:51 +02:00
Luis Malheiro
02ea4831ea
Test for the 'compress' option at the file appender.
2014-09-01 18:05:36 +02:00
Dmitry M. Lazutkin
7558a3c367
Closes #238 Updated async library in order to use lib in —use-strict mode
2014-08-28 12:04:02 +04:00
Jakub Chmura
ade6dd8ea0
Adjusting and adding new tests for logLevelFilter to handle the maxLevel option.
2014-08-25 20:56:37 +02:00
j2ro
44687e1bd1
#233 : Adding ability to put pid in log layout pattern
2014-08-20 10:23:31 +01:00
Gareth Jones
c03185b563
Merge pull request #231 from eurekaa/buffered-logger
...
added getBufferedLogger function.
2014-08-17 11:00:10 +10:00
Stefano Graziato
59a6703549
getBufferedLogger tested.
2014-08-16 14:22:58 +02:00
Gareth Jones
ceffdf92e4
Removed hook.io appender, because hook.io does not build on systems without python
2014-08-16 12:23:50 +10:00
Stefano Graziato
c9e72d0f00
added getBufferedLogger function.
...
This function should be useful when you need to log during async
parallel operations, without having a mess in logs.
For example when you walk asynchronously a directory and you want logs
to be grouped by file.
It returns the same getLogger() object but messages are stored
internally and sent to appenders only when you call the flush() method
on it.
2014-08-15 13:42:08 +02:00