798 Commits

Author SHA1 Message Date
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
20b416d283 chore(cover): moved coverage to separate npm step 2016-12-29 22:58:22 +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
ddb5045a08 chore(bob): bob no longer used 2016-12-27 09:25:43 +11:00
Gareth Jones
16f20eaee2 test(coverage): trying a different way to trigger codecov 2016-12-27 09:08:21 +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
b87e6610a2 test(coverage): added flag to generate coverage report for tap tests 2016-12-27 08:45:27 +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
cb1d5f7891 chore(tests): added coverage.io 2016-12-22 08:39:58 +11:00
Gareth Jones
5963223589 fix(build): got validate-commit-msg working again 2016-12-22 08:33:59 +11:00
Gareth Jones
f714515e01 moved from ghooks to husky 2016-12-22 08:28:31 +11:00
Gareth Jones
c8ce0b02c1 just testing 2016-12-22 08:24:34 +11:00
Gareth Jones
74ce349fad revert(logFacesAppender): didn't need to move the requires 2016-12-22 08:08:35 +11:00
Gareth Jones
7aad4ccff0 fix(logFacesAppender): moved requires to fix the eslint problem 2016-12-22 08:01:24 +11:00
Gareth Jones
dceb8a6a1e Merge branch 'e-cloud-es6-refactor' 2016-12-21 22:16:33 +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
f7ec3ccf82 1.1.0 v1.1.0 2016-12-21 08:35:29 +11:00
Gareth Jones
c478c53db1 Fix for #397 - multiprocess shutdown 2016-12-21 08:24:09 +11:00
Gareth Jones
bad1b97388 Merge branch 'despairblue-feature/loggly-shutdown' 2016-12-15 08:18:35 +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
e-cloud
7d9dc55ff2 style: upgrade eslint and format the code
no logic changed.
2016-12-12 21:04:34 +08:00
e-cloud
02d6c017f4 Merge branch 'master'
Conflicts:
	.travis.yml
	lib/appenders/dateFile.js
	lib/appenders/file.js
	lib/appenders/fileSync.js
	lib/appenders/gelf.js
	lib/appenders/logFacesAppender.js
	lib/date_format.js
	lib/debug.js
	lib/layouts.js
	lib/log4js.js
	lib/log4js.json
	lib/logger.js
	lib/streams/BaseRollingFileStream.js
	lib/streams/DateRollingFileStream.js
	lib/streams/RollingFileStream.js
	lib/streams/index.js
	package.json
	test/layouts-test.js
	test/streams/BaseRollingFileStream-test.js
	test/streams/DateRollingFileStream-test.js
	test/streams/rollingFileStream-test.js
2016-12-12 17:42:34 +08:00
Gareth Jones
f9b2eaf579 Merge pull request #420 from thu2004/master
fix for #315 - Include milliseconds in format ISO8601_WITH_TZ_OFFSET
2016-11-11 13:50:22 +11:00
Gareth Jones
478da4a721 Merge pull request #421 from nwoltman/logging-perf
Improve core logging performance
2016-11-11 13:45:13 +11:00
Nathan Woltman
0af3f1607f Improve core logging performance
Allow V8 to optimize functions by not leaking the arguments object.
This results in a performance improvement of about 20%.
2016-11-10 12:32:53 -05:00
Chi Thu Le
9eb0f9dbd0 fix for #315 - Include milliseconds in format ISO8601_WITH_TZ_OFFSET 2016-11-10 10:35:19 +01:00
Gareth Jones
7368cd33dc fix for #419 - calling replace console outside of configure breaks things 2016-11-09 07:50:56 +11:00
Gareth Jones
93af09e864 Merge pull request #401 from sparklton/master
logFaces append via HTTP
2016-11-06 19:48:17 +11: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
sparklton
169627a464 added description for using dependancies 2016-11-06 08:45:19 +02:00
Gareth Jones
e4f196a682 1.0.1 v1.0.1 2016-11-06 15:49:31 +11:00
Gareth Jones
3f93872ecc fixed lint problem 2016-11-06 15:49:06 +11:00
Gareth Jones
eac6295e4c fix for #418 - date formats broken in file appenders 2016-11-06 15:47:45 +11:00