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
v0.6.38
2016-07-17 20:51:18 +10:00
Gareth Jones
defeb2503b
Merge pull request #395 from dcolens/dcolens-patch-1
...
Fixes #393 - catch error when sending UDP packet to GELF server
2016-07-17 17:36:08 +10:00
e-cloud
753ce312e9
test: remove tests under node < 6.0
...
remove semver related code for tests under node < 6.0
2016-07-16 13:54:18 +08:00
e-cloud
9cc3a88bd7
refactor: more small refactor
...
1. drop semver related code with no need to detect node version
2. drop license declaration in log4js.js for there is one in the project dir
3. other changes
2016-07-16 13:49:24 +08: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
9f581f78c1
refactor: streams/*.js (test passed)
...
As class inheritance inside stream/*.js, standalone refactor don't work.
So streams/*.js are refactored in batch.
One thing worth mentioning is that, the old inherit-style will call the parent
constructor at the end of child constructor for some code initialization. However,
with ES6 class syntax, the call of `super` must be afore every statement with this.
So, some code initializing logic are reordered to suit the ES6 syntax and the tests.
2016-07-16 13:20:01 +08:00
e-cloud
492fd94427
refactor: appenders/slack.js
2016-07-15 21:34:58 +08:00
e-cloud
8274ea0a8d
refactor: appenders/smtp.js
2016-07-15 21:34:47 +08:00
e-cloud
ac4b563c0d
refactor: appenders/stderr.js
2016-07-15 21:34:37 +08:00
e-cloud
04704791ef
refactor: appenders/mailgun.js
2016-07-15 21:34:28 +08:00
e-cloud
85f31cf524
refactor: appenders/multiprocess.js
2016-07-15 21:33:58 +08:00
e-cloud
5dbe639d80
refactor: appenders/logstashUDP.js
2016-07-15 21:32:32 +08:00
e-cloud
97de2cc333
refactor: appenders/loggly.js
2016-07-15 21:32:12 +08:00
e-cloud
312f8e0a14
refactor: appenders/logLevelFilter.js
2016-07-15 21:31:26 +08:00
e-cloud
ec0fd992a8
refactor: appenders/logFacesAppender.js
2016-07-15 20:35:58 +08:00
e-cloud
8343b36069
refactor: appenders/hipchat.js
2016-07-15 20:28:40 +08:00
e-cloud
2997fae3fc
refactor: appenders/gelf.js
2016-07-15 20:28:15 +08:00
e-cloud
c80877e6b7
refactor: appenders/fileSync.js
2016-07-15 20:10:57 +08:00
e-cloud
505e5dbde9
refactor: appenders/file.js
2016-07-15 20:05:10 +08:00
e-cloud
7dd3261373
refactor: appenders/dateFile.js
2016-07-15 19:56:07 +08:00
e-cloud
c838f1ab47
refactor: appenders/console.js
2016-07-15 19:51:59 +08:00
e-cloud
1ab318c991
refactor: appenders/clustered.js
2016-07-15 19:47:55 +08:00
e-cloud
311dea74af
refactor: appenders/categoryFilter.js
2016-07-15 19:47:32 +08:00
e-cloud
6146334d01
refactor: connect-logger.js
2016-07-15 19:47:16 +08:00
e-cloud
3f8ac6b246
refactor: date_format.js
2016-07-14 22:12:16 +08:00
e-cloud
95f3b537f4
refactor: layouts.js
2016-07-14 22:10:53 +08:00
e-cloud
87797195f9
refactor: log4js.js
...
remove levels.getLevel function as it have move to the levels.js
2016-07-14 22:09:46 +08:00
e-cloud
8f6d69ba01
refactor: logger.js
...
turn the old style `exports` to the new style `module.exports`
2016-07-14 22:07:56 +08:00
e-cloud
bdeb7b9c41
refactor: level.js
...
pick the getLevel function back from log4js.js
2016-07-14 22:06:01 +08:00
e-cloud
a0bab5b3af
refactor: debug.js
2016-07-14 22:04:03 +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
9903be3123
chore: update eslint config
2016-07-14 20:53:47 +08:00
e-cloud
5328e03802
refactor: just format code according to the editor config(tests passed)
2016-07-14 17:36:30 +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
b1d294c9b6
Merge pull request #398 from BCGDV/master
...
add req.url so that connect works with restify
2016-07-13 08:11:55 +10:00
Abrar Ahmed
552a7177bc
add req.url so that connect works with restify
2016-07-11 16:06:00 -07:00
Abrar Ahmed
bcc3d4630f
add req.url so that connect works with restify
2016-07-11 16:01:21 -07:00
Abrar Ahmed
b55eb70d03
add req.url so that connect works with restify
2016-07-11 15:02:07 -07:00
Did
03c490fbf1
Update gelf.js
2016-06-20 10:19:56 +02:00
Did
43bef96799
Fixes #393 - catch error when sending UDP packet to GELF server
2016-06-20 10:08:32 +02:00
Gareth Jones
4e0a71865e
0.6.37
v0.6.37
2016-06-15 09:36:15 +10: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
Gareth Jones
eb96085c6e
Merge pull request #381 from BlueAcornInc/briceburg/hipchat-apiv2
...
use HipChat apiv2 in hipchat appender
2016-06-15 07:59:45 +10:00
Brice Burgess
af8dc5d963
update hipchat appendender test for hipchat-notifier
2016-06-10 12:12:00 -05:00
Brice Burgess
10b730ef87
minor cleanups
2016-06-10 12:11:00 -05:00
Brice Burgess
9a71781c05
hipchat-appender: remove redundancy
2016-06-10 12:11:00 -05:00