586 Commits

Author SHA1 Message Date
Romain
e70d13200c feat: add delimiter for fileName depth to %f layout patern 2019-07-09 11:00:49 +02:00
Gareth Jones
39cd2ef3f6 docs: added explanation of passing appender module in config, and types 2019-06-26 07:57:28 +10: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
Gareth Jones
b51d8b0994 chore: removed unused lines 2019-05-23 08:15:13 +10:00
Gareth Jones
b8db0b5b07 fix: loglevelfilter was missing from core appenders 2019-05-21 08:50:37 +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
5342a8dcd5 feat: add log4js.useCallStack() to enable/disable all loggers' callStack 2019-05-16 20:24:44 +08:00
Jimmy Huang
b5e7db28fc chore: check category.enableCallStack when config 2019-05-16 20:04:33 +08:00
Jimmy Huang
9d1e325238 feat: add category enableCallStack opt. (default: false) 2019-05-16 16:53:27 +08:00
Jimmy Huang
911693f294 chore: fix typo 2019-05-16 10:44:54 +08:00
Jimmy Hunag
ea0028b1cb test: add callsite for devDeps & cover logger-test 2019-05-16 01:59:03 +08:00
Jimmy Hunag
5da824e2ff feat: add line number, column position and filename support 2019-05-16 00:45:46 +08: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
Paul Harapiak
6bff3bb7f4 feat(categoryInheritance): using preProcessingListener
for preparing config before validation and interpretation
2019-05-04 12:10:16 -04: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
Bjorn Stromberg
027f2567b6 fix(layout): Use level as a string for node v12 (Fixes #859) 2019-04-24 15:21:47 +09: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
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
Gareth Jones
0700d6a94e
Merge pull request #794 from so5/multiFile
fix: #793
2018-10-09 07:27:43 +11:00
Gareth Jones
bd7097a8a4
Merge pull request #780 from t4d-io-website/master
fix require.main for use with Node.js mjs modules
2018-10-02 07:38:17 +10:00
Naoyuki Sogo
2a336d9a5d fix: #793 2018-09-28 15:28:29 +09:00
LoneRifle
7f248c4177 refactor(multiprocess): serialisation consistency
Delegate all serialisation tasks to LoggingEvent, instead of
maintaining a separate codepath in the multiprocess appender
2018-09-25 23:32:30 +08:00
Eric Greene
7e008c8d44 fix require.main for use with Node.js mjs modules 2018-08-16 22:25:02 -04: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
Gareth Jones
805c566bb5 chore: mentioned issue number in config fix 2018-07-29 13:59:59 +10:00
Jimmy Hunag
7d9fdc9d29 chore: add clone comment in configure 2018-07-29 03:18:41 +08:00
Jimmy Huang
06c448727b fix: #743 cannot modify immutable configuration 2018-07-27 14:44:03 +08:00
Florian Reinhart
beb4f5d40b
Fix duplicate log messages in TCP server
This also fixes a potential concurrency issue by storing received data per socket connection instead of globally.
2018-07-20 14:33:03 +02:00
Gareth Jones
3a68a1eb96 fix: #756 - handle multiple messages better 2018-07-19 08:13:59 +10:00
Gareth Jones
20a6b295a5 fix: removed the custom inspect thing as it was only need for node < 6 2018-07-13 09:44:23 +10:00
Gareth Jones
467f67094a chore: removed the logFaces-UDP appender 2018-07-12 19:58:20 +10:00
Gareth Jones
2db6bb036c Merge branch 'master' into version-3.x 2018-07-12 17:06:01 +10:00
Gareth Jones
db9271b771 chore: deprecated logFaces-UDP 2018-07-12 08:23:54 +10:00
Gareth Jones
3a565667f9 chore: removed logFaces-HTTP appender 2018-07-06 08:18:24 +10:00
Gareth Jones
5618fdb4f8 Merge branch 'master' into version-3.x 2018-07-06 07:59:05 +10:00