286 Commits

Author SHA1 Message Date
Gareth Jones
0dec2dbe31 fix(test): moved logLevelFilter test to tap 2016-12-30 20:02:45 +11:00
Gareth Jones
e84dc40991 fix(test): moved logFaces test to tap 2016-12-30 19:51:35 +11:00
Gareth Jones
7d13b6e04f fix(test): fixing regexp for older node versions 2016-12-30 19:12:33 +11:00
Gareth Jones
fdf9558b6d fix(test): simpler regexp in layouts test 2016-12-30 19:06:52 +11:00
Gareth Jones
d3dbaf5f3e fix(test): moved layouts test to tap 2016-12-30 19:02:45 +11:00
Gareth Jones
6838fcdb93 fix(test): date_format -> external lib, dateFile test -> tap 2016-12-30 18:01:50 +11:00
Gareth Jones
9d84bddf4a fix(test): moved file appender test to tap 2016-12-29 22:57:54 +11:00
Gareth Jones
fdbb052a54 fix(test): moved gelf test to tap 2016-12-29 18:57:36 +11:00
Gareth Jones
c196c5bce1 fix(coverage): exclude node_modules from being covered 2016-12-29 18:16:42 +11:00
Gareth Jones
1064850513 fix(test): got coverage working with sandboxed-module 2016-12-29 18:12:37 +11:00
Gareth Jones
582df9fb12 fix(test): moved mailgunAppender, hipchatAppender test to tap 2016-12-28 17:30:19 +11:00
Gareth Jones
c99165cf2a fix(test): moved mailgunAppender test to tap 2016-12-28 17:19:50 +11:00
Gareth Jones
1065c50948 fix(test): moved slackAppender test to tap 2016-12-28 17:09:43 +11:00
Gareth Jones
5975159470 fix(test): moved smtpAppender test to tap 2016-12-28 17:02:01 +11:00
Gareth Jones
d685b18a97 fix(test): moved newLevel and subcategories tests to tap 2016-12-28 13:00:21 +11:00
Gareth Jones
e45476f24d fix(test): moved console, logger, logstash tests to tap 2016-12-27 18:52:38 +11:00
Gareth Jones
59186499ca fix(test): moved configuration test to tap 2016-12-27 14:38:39 +11:00
Gareth Jones
d8e87dc7f5 fix(test): moved category filter test to tap 2016-12-27 13:11:50 +11:00
Gareth Jones
d4a1971b27 test(multiprocess): bumped up the timeout, as tests run slower with cov 2016-12-27 08:49:36 +11:00
Gareth Jones
a78af6b23a test(tap): replaced tape with tap, moved loggly test to tap 2016-12-27 08:35:39 +11:00
Gareth Jones
399562737a Merge branch 'es6-refactor' of https://github.com/e-cloud/log4js-node into e-cloud-es6-refactor 2016-12-21 22:08:00 +11:00
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
e-cloud
3e4f3a66f3 style: format test code
a error occur in `loggin-test.js` - 'invalid configuration'.

It may reveal some internal defects of this library.

Another problem occurs in `configureNoLevels-test.js`. I mark a
**todo** there.
2016-12-12 22:23:39 +08:00
e-cloud
ff182149f3 test(deps): upgrade vows and sandboxed-module to support node v7
add a missing dependency - axios.
adjust tests to be compatible with latest sandboxed-module.
2016-12-12 21:07:27 +08: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