34 Commits

Author SHA1 Message Date
Lam Wei Li
60c9e53da0
fix: load CJS appenders for ESM projects 2022-07-04 01:26:32 +08:00
Zachary Haber
cad9555948
style: run prettier:fix 2022-06-23 01:00:07 +08:00
Lam Wei Li
e378b597a6
style: prepare for prettier:fix 2022-06-23 01:00:00 +08:00
Lam Wei Li
7534f9c25f
chore(test): added test coverage for deprecation notices 2022-03-15 15:57:53 +08:00
Lam Wei Li
e58a48a63e
Merge pull request #1210 from log4js-node/optimise
chore(optimise): do not initialise default appenders as it will be done again by configure()
2022-03-15 15:56:28 +08:00
Lam Wei Li
4b400523b8
chore(optimise): do not initialise default appenders as it will be done again by configure() 2022-03-15 15:50:46 +08:00
Lam Wei Li
6d867f5caf
chore(docs): added docs for istanbul ignore 2022-03-14 17:15:44 +08:00
Lam Wei Li
4f1111ee40
chore(lint): added specific eslint rule(s) to disable for clarity 2022-03-12 01:25:39 +08:00
Lam Wei Li
04bd18b44d
chore(test): improve test coverage for appenders/index
(requires truthy value, used a noop function, but the function never gets called anyway)

appenders/index.js - Line 95 - }, /* istanbul ignore next */ () => {});
2022-03-06 21:47:28 +08:00
Lam Wei Li
eb9c923b04
Misc formatting 2022-02-02 03:06:22 +08:00
Lam Wei Li
8b44299454
Fixes #1086 2022-02-02 03:05:42 +08:00
Lam Wei Li
adcd0ffeaf
Merge pull request #1165 from log4js-node/fixed-eslint
fixed eslint
2022-01-23 21:42:27 +08:00
Lam Wei Li
bf2b326e51
fixed eslint 2022-01-23 21:35:21 +08:00
Lam Wei Li
3226b3de40
emit deprecation 2022-01-23 21:26:45 +08:00
Nico Jansen
f127382fa8
fix(multiprocess): startup multiprocess even when no direct appenders attached
Fixes #1161
2022-01-23 00:20:19 +01:00
Lam Wei Li
653a20f1f1
Merge pull request #1028 from techmunk/master
Fix TCP appender with Webpack and Typescript
2022-01-19 02:02:43 +08:00
peteriman
1e066b9bfa
Patched file descriptor leak by:
- subsequent log4js.configure() will run log4js.shutdown() first
- log4js.shutdown() will always clear/reset existing appenders and categories
2022-01-04 15:56:36 +08:00
Techmunk
0a027d1dff fix: tcp appender was missing from core appenders 2020-06-16 20:39:22 +10:00
Gareth Jones
5c5f54fcf7 fix: tcp-server needs to be loaded even if no categories 2020-05-25 08:55:04 +10:00
Gareth Jones
ff475b9d07
Merge pull request #1015 from lauren-li/fix-webpack-fileSync
fix: fileSync was missing from core appenders
2020-05-25 08:28:35 +10:00
Lauren Li
5468dd7c41 fix: fileSync was missing from core appenders 2020-05-19 16:45:41 -04:00
rnd-debug
aabc15d491 style: style fix 2020-05-03 09:59:06 +02:00
rnd-debug
3cb7f52fce fix: will not try to create appender if it is not used in categories 2020-05-03 09:48:47 +02:00
Mike Vastola
5aec282f06 fix: Allow appenders to depend on not-yet-loaded appenders.
Close #746
2020-02-01 16:57:20 -05: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
b8db0b5b07 fix: loglevelfilter was missing from core appenders 2019-05-21 08:50:37 +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
Eric Greene
7e008c8d44 fix require.main for use with Node.js mjs modules 2018-08-16 22:25:02 -04:00
Gareth Jones
a0749b5d01 chore: resolved conflicts manually 2018-05-30 08:26:32 +10:00
Gareth Jones
d52734471d fix(test): all tests passing except server 2018-02-05 07:04:46 +11:00
Gareth Jones
11b21ce773 fix(webpack): added loading of core appenders 2018-02-01 07:58:46 +11:00
Gareth Jones
8084e80027 fix(tests): tests failing - config listeners not working in sandbox 2018-01-17 08:24:50 +11:00