480 Commits

Author SHA1 Message Date
Gareth Jones
335cbeedd7 chore: fixed timezone for test 2019-08-07 08:25:44 +10:00
Gareth Jones
ab32e753b2 chore: improved coverage in log4js.js 2019-08-02 10:51:21 +10:00
Gareth Jones
66fe30e9f4 chore: oh shit I changed the eslint rules 2019-08-01 16:57:32 +10:00
Gareth Jones
edf2535130 chore: improved layouts test coverage 2019-08-01 15:05:28 +10:00
Gareth Jones
3804caf904 chore: updated streamroller to v2, means we cannot support node v6 2019-08-01 10:58:09 +10:00
Gareth Jones
863ac65227 chore: made one of the tests simpler trying to diagnose a weird problem 2019-07-15 12:00:51 +10:00
Gareth Jones
f428d7d0fd
Merge pull request #913 from rommni/feature/fileNameTruncate
feat: add delimiter for fileName depth to %f layout patern
2019-07-10 08:18:21 +10:00
Romain
015d060ec5 test: add test for setParseCallbackFunction 2019-07-09 13:09:49 +02:00
Romain
4bfbe7c83d test: fix test for fileName depth specifier 2019-07-09 11:14:09 +02:00
Romain
e70d13200c feat: add delimiter for fileName depth to %f layout patern 2019-07-09 11:00:49 +02:00
Gareth Jones
e0abff4c86
Merge pull request #833 from kaxelson/832-appender-instance
feature: adding the option to provide appender instance in config
2019-06-25 08:44:16 +10:00
Gareth Jones
f5c73efc44 fix(#887): map maxLogSize to maxSize 2019-05-29 08:32:38 +10:00
Jimmy Huang
ea6cbf06b0 test: add output '' when callstack info not exist 2019-05-20 11:39:19 +08:00
Jimmy Huang
c49ea03ca6 revert: remove global useCallStack 2019-05-17 15:10:39 +08:00
Jimmy Hunag
a564ce4b5f test: add & fix test 2019-05-16 23:30:16 +08:00
Jimmy Huang
911693f294 chore: fix typo 2019-05-16 10:44:54 +08:00
Jimmy Hunag
cfb458c6c1 style: fix lint 2019-05-16 02:12:07 +08:00
Jimmy Hunag
c7bac4c39c test: cover LoggingEvent-test 2019-05-16 02:09:17 +08:00
Jimmy Hunag
ea0028b1cb test: add callsite for devDeps & cover logger-test 2019-05-16 01:59:03 +08:00
Jimmy Hunag
daeb754e47 test: cover layout-test 2019-05-16 01:11:47 +08:00
Gareth Jones
c1b5813b16
Merge pull request #875 from Simmyoungsub/docs-add-the-body-token-to-a-custom-format
docs: add explaining custom format
2019-05-13 08:44:11 +10:00
myoungsubsim
2428182a95 test: add custom-format test case 2019-05-10 17:48:30 +09:00
Gareth Jones
542daa48c1 fix: sighup handler was just nonsense 2019-05-09 08:15:33 +10:00
Gareth Jones
54bfa96a8d
Merge pull request #862 from leak4mk0/context-request
feat(connectLogger): add response to context
2019-05-07 08:35:12 +10:00
Gareth Jones
8c29e7838a
Merge pull request #863 from pharapiak/inherit-parent-category-config
feat: add appender and level inheritance
2019-05-06 17:07:23 +10:00
Gareth Jones
6c4523c7d8 test: removed unnecessary regexp 2019-05-06 08:46:26 +10:00
Gareth Jones
20d3cea8d1 test: new version of sandboxed-module to fix tests in v12 2019-05-06 08:34:14 +10:00
Gareth Jones
f19cc85a5f Merge branch 'master' into fixes-for-node-v12 2019-05-06 07:59:12 +10:00
Paul Harapiak
301dcde705 Merge branch 'master' of https://github.com/log4js-node/log4js-node into inherit-parent-category-config 2019-05-04 12:12:29 -04:00
Paul Harapiak
6bff3bb7f4 feat(categoryInheritance): using preProcessingListener
for preparing config before validation and interpretation
2019-05-04 12:10:16 -04:00
Gareth Jones
e6f9f28830 fix: failing test on node v6 2019-05-02 08:35:26 +10:00
Paul Harapiak
3b81a6b429 feat: add appender and level inheritance
feat: add appenders and level inheritance

feat: inherit appenders and level from base

feat: inherit appenders, handle empty categories
2019-04-25 22:37:24 -04:00
leak4mk0
f9ddc61d07 feat(connectLogger): add response to context 2019-04-26 00:02:51 +09:00
Gareth Jones
9d630af089 test: fixes for node 12 2019-04-25 10:33:36 +10:00
Martin Heidegger
a06e2cc83c chore: updated dependencies (including eslint) 2019-02-20 23:07:23 +09:00
Knute Axelson
efd5d2c3f4 feature: adding the option to provide appender instance in config 2019-02-04 11:06:47 -06:00
Gareth Jones
6741c0bdce chore: improve coverage for connect middleware 2019-02-04 08:30:35 +11:00
Gareth Jones
054207359d chore: improved connect-logger test coverage 2019-01-31 08:48:09 +11:00
Gareth Jones
d8415fd11b fix: #827 - level overrides 2019-01-29 09:17:03 +11:00
Gareth Jones
26e941892e Merge branch 'flatted' of https://github.com/LoneRifle/log4js-node into LoneRifle-flatted 2019-01-25 07:57:50 +11:00
Gareth Jones
d9b92cc145
Merge pull request #826 from log4js-node/update-streamroller
Update streamroller
2019-01-24 08:53:42 +11:00
Gareth Jones
09c02e0b39 fix: all tests passing now with updated streamroller 2019-01-24 08:33:15 +11:00
Gareth Jones
ee81a50844 chore: work in progress commit as backup 2019-01-05 16:14:46 +11:00
blakambr
84437ef51e feat(connectLogger): added status code rulesets + tests 2018-12-19 16:50:33 +11:00
Mattia Capitanio
80ca5965cb feat(noLogFilter): added no log filter regexp in general config 2018-12-02 17:08:39 +01:00
LoneRifle
29c92211f2 fix(#789): use flatted in place of CircularJSON
CircularJSON is now deprecated, so replace it with its successor
and use it in the sole location where we used CircularJSON, ie
in the LoggingEvent serialization/deserialization functions

* npm - install flatted, remove circular-json
* LoggingEvent - use flatted for serialization/deserialization
* tests - acknowledge that flatted (and circular-json) should not
  parse anything other than their respective serialized payloads
  and use flatted when parsing/stringifying test data
2018-11-04 15:32:28 +08:00
Naoyuki Sogo
f066f19a2c test: multiFile appenders' shutdown called before use 2018-10-02 09:24:54 +09:00
Gareth Jones
a686c275dd chore: removed a lint warning 2018-08-13 08:00:59 +10:00
Jimmy Hunag
461370ced6 fix: #743 use deepclone 2018-08-11 03:26:50 +08:00
Gareth Jones
82760865fd fix(#768): allow config to use level objects 2018-08-02 08:03:22 +10:00