135 Commits

Author SHA1 Message Date
Gareth Jones
e94a3518b1 docs(appenders): made a start on documenting the appenders 2017-04-13 08:53:14 +10:00
Gareth Jones
8be0b8e478 Merge branch 'master' into version-2 2017-03-23 08:16:41 +11:00
wadecha
ce0c1b847d Update package.json 2017-03-20 08:40:51 +08:00
wadecha
33986b6a57 Update package.json 2017-03-07 19:59:19 +08:00
wadecha
c8426ad432 Update package.json 2017-03-07 19:32:16 +08:00
Gareth Jones
46378318ae chore(deps): bumped streamroller version 2017-02-28 08:22:35 +11:00
Gareth Jones
9d480abbf9 fix(test): bye bye vows 2017-01-02 21:46:00 +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
1064850513 fix(test): got coverage working with sandboxed-module 2016-12-29 18:12:37 +11:00
Gareth Jones
16f20eaee2 test(coverage): trying a different way to trigger codecov 2016-12-27 09:08:21 +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
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
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 2016-12-21 08:35:29 +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
e4f196a682 1.0.1 2016-11-06 15:49:31 +11:00
Gareth Jones
2162b0e8df removed support for node v0.10, bumped version of streamroller 2016-11-02 08:08:01 +11:00
Gareth Jones
dc831b8a99 updated streamroller, because 0.1.0 was broken 2016-10-23 12:02:16 +11:00
Gareth Jones
301dd50023 premature removal of semver 2016-10-23 11:53:48 +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
e-cloud
50ce5030df Merge remote-tracking branch 'refs/remotes/upstream/master'
Conflicts:
	lib/appenders/gelf.js
	lib/connect-logger.js
2016-07-18 15:50:52 +08:00
e-cloud
495d87c521 refactor: fallback some code to support Node.js v4
1. reintroduce `semver` to support code >=4 && <6
2. fallback syntax like rest parameter and default parameter
3. update `sandboxed-module` to fix "strict mode error"
2016-07-18 15:42:05 +08:00
Gareth Jones
6c21e4acd9 0.6.38 2016-07-17 20:51:18 +10:00
e-cloud
4ac4ca2ca1 chore: update package.json and eslint config and travis config
1. add optional dependencies used in appenders as many uses may not use them all
2. update script for test integration
3. update eslintrc for those optional dependenceise
4. update travis config as current code is base on ES6 which is only nearly fully supported by Node.js v6
5. drop the old dependenies as being in favor of ES6
2016-07-16 13:30:16 +08:00
e-cloud
01f87918d4 chore: update engine version and a script to remove tests output 2016-07-14 22:03:37 +08:00
e-cloud
c793778eab chore: update code management facilities
1. add eslint support
2. add some restrictions on git commit
3. add conventional-changelog for future auto changelog generation
4. update ignores
5. add editor config
2016-07-14 17:36:23 +08:00
Gareth Jones
4e0a71865e 0.6.37 2016-06-15 09:36:15 +10:00
Gareth Jones
5d9e08a289 0.6.36 2016-05-05 16:50:55 +10:00
Gareth Jones
b6658e52e0 added jshint pretest 2016-05-05 16:44:12 +10:00
Gareth Jones
97fc892c00 fixing some jshint errors 2016-04-29 09:11:17 +10:00
Gareth Jones
a1433e2316 0.6.35 2016-04-15 09:28:26 +10:00
Gareth Jones
451f79a29a 0.6.34 2016-04-15 08:52:03 +10:00
Gareth Jones
111ba283e9 0.6.33 2016-03-09 10:45:14 +11:00
Gareth Jones
b1a36cbe76 0.6.32 2016-02-29 08:41:50 +11:00
Gareth Jones
0f8bffda21 0.6.31 2016-02-02 10:39:15 +11:00
Gareth Jones
55c516740c 0.6.30 2016-01-26 22:39:26 +11:00
Hugues Malphettes
3be1c25455 Replace async by native recursions 2016-01-15 11:59:47 +08:00
Hugues Malphettes
6746e2e048 remove the underscore dependency 2016-01-06 11:23:40 +08:00
Gareth Jones
033e52a0db 0.6.29 2015-11-27 08:31:17 +11:00
Gareth Jones
40307eda1a Merge pull request #335 from gchauvet/master
Send a remaining logs email when shutdown is called
2015-11-27 08:28:47 +11:00
Guillaume Chauvet
27b9b6e282 Remove jshint support : node 0.8.0 not works with streams 2015-11-24 14:52:36 +01:00
Guillaume Chauvet
4561d17c8f Correct jshint version 2015-11-23 12:02:33 +01:00
Guillaume Chauvet
d720ea6767 Add jshint as a "lint" alias command 2015-11-23 11:54:53 +01:00