ZLundqvist
0a2e0da5ed
fix(types): add level parameter declaration to Logger.log function
2022-01-07 14:24:20 +01:00
Lam Wei Li
968fc1c958
Merge pull request #1062 from abernh/fix-1042_logger-log--warn-on-invalid-log-level
...
fix(logger.log): warn on invalid log-level
2022-01-07 14:58:45 +08:00
Lam Wei Li
c9d67604c0
Merge pull request #1110 from peteriman/Fixes-#852-MaxListenersExceededWarning
...
Avoid creating multiple SIGHUP listeners for File Appender
2022-01-05 23:48:32 +08:00
Lam Wei Li
09b43b1d80
Merge pull request #1089 from jhonatanTeixeira/fix_tcp_error_newer_node
...
fix: on newer nodejs versions listening to socket errors are required
2022-01-05 23:18:22 +08:00
Lam Wei Li
0144f9a9d5
Merge pull request #529 from harlentan/patch-1
...
fix worker will die if the master exit
2022-01-05 23:17:47 +08:00
Lam Wei Li
3f1ac52866
Added trailing semi-colon
2022-01-05 20:28:32 +08:00
Lam Wei Li
4565359448
Flush the buffer on 'error'
2022-01-05 20:28:27 +08:00
peteriman
60568bf3de
Added automated testing for file appender single SIGHUP listener
2021-12-28 16:15:11 +08:00
peteriman
ac72e99de3
Creates a 1 SIGHUP handler instead
...
I think the issue is that each file appender instance adds a SIGHUP handler, when they could all use the same handler. I'll see if I can work on a fix.
_Originally posted by @nomiddlename in https://github.com/log4js-node/log4js-node/issues/852#issuecomment-496316399_
2021-12-17 00:41:48 +08:00
Jhonatan Teixeira
fa366c8abc
fix: on newer nodejs versions listening to socket errors are required
2021-07-14 09:49:30 -03:00
abernh
76f91427ba
fix(logger.log): warn on invalid log-level
...
a warning is logged if the `log` method is used with an unknown log-level
this happens whenever people confuse the `log` method with yet another log-level-short method (like in the browser console.log)
adjusted `newLevel-test` accordingly
rel: https://github.com/log4js-node/log4js-node/issues/1042
Signed-off-by: abernh <a.bernhard@23go.de>
2021-02-23 12:02:15 +01:00
Gareth Jones
f8d46a9392
Merge pull request #1019 from abetomo/feature/add_nodejs14_to_travis_config
...
test(travis-ci): Add Node.js14 to Travis CI configuration
2020-05-25 13:14:20 +10:00
abetomo
b342383276
test(travis-ci): Add Node.js14 to Travis CI configuration
2020-05-25 09:14:32 +09:00
Gareth Jones
fcf95482f3
6.3.0
v6.3.0
2020-05-25 08:56:12 +10:00
Gareth Jones
fc2dc91931
docs: changelog for 6.3.0
2020-05-25 08:55:55 +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
42f9a33e4e
Merge pull request #1016 from abetomo/feature/change_indentation_to_soft_tabs
...
style(indentation): change indentation to soft tabs
2020-05-25 08:38:05 +10:00
Gareth Jones
e231c04f13
Merge branch 'master' into feature/change_indentation_to_soft_tabs
2020-05-25 08:36:57 +10:00
Gareth Jones
8a152636a4
Merge pull request #1018 from iassasin/docs-other-appenders
...
Add section in documentation for links to other appenders
2020-05-25 08:35:14 +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
Gareth Jones
493736700c
Merge pull request #1014 from rnd-debug/docs-influxAppender
...
docs: adding mention of InfluxDB appender
2020-05-25 08:26:53 +10:00
Gareth Jones
a6eca3e391
Merge pull request #1006 from rtvd/ts-access-for-category
...
Access to 'category' field of logger objects in TS
2020-05-25 08:24:32 +10:00
Gareth Jones
fe0713ae08
Merge pull request #1004 from wataash/style-param
...
style: conform @param to official style
2020-05-25 08:22:59 +10:00
Gareth Jones
c830d842c3
Merge pull request #1003 from rnd-debug/docs-categories
...
Describe categories inheritance
2020-05-25 08:21:37 +10:00
Gareth Jones
4b0c6f41ad
Merge pull request #1002 from rnd-debug/donot-create-appender-if-not-used
...
Donot create appender if not used
2020-05-25 08:19:47 +10:00
Gareth Jones
ff3808403c
Merge pull request #1001 from BlueCocoa/master
...
Added support for removing embedded ANSI color sequence for file appender
2020-05-25 08:18:33 +10:00
iassasin
6d0edf1f2c
add section in documentation for links to other appenders
2020-05-24 13:06:30 +03:00
abetomo
e27926a08e
style(indentation): change indentation to soft tabs
...
The JavaScript code was indented with spaces, so I adjusted it.
2020-05-22 15:58:49 +09:00
Lauren Li
5468dd7c41
fix: fileSync was missing from core appenders
2020-05-19 16:45:41 -04:00
rnd-debug
8d2f69c336
docs: adding mention of InfluxDB appender
2020-05-19 06:04:46 +02:00
Cocoa
52185a4984
Fixed ESLint no-else-return error
...
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-09 04:39:04 +08:00
Cocoa
8cfe1627c6
Only detects ANSI color codes for data in string type
...
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-09 04:20:49 +08:00
Cocoa
40b5f09fe8
Using regexp literal and .map instead of a loop for replacing
...
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-07 16:23:20 +08:00
Denys Rtveliashvili
d65cc3b21b
Access to 'category' field of logger objects in TS
2020-05-06 18:02:58 +01:00
Wataru Ashihara
a81500b7e6
style: conform @param to official style
...
ref. https://jsdoc.app/tags-param.html
2020-05-04 09:13:36 +09:00
rnd-debug
6a6cbdb383
docs: improving default example in categories.md
2020-05-03 11:11:27 +02:00
rnd-debug
90fdcaacc5
docs: adding doc about categories
2020-05-03 11:03:17 +02: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
Cocoa
b088498957
Fixed ESLint error about indentation
...
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 16:18:24 +08:00
Cocoa
b179740152
Fixed a copy-paste error and fixed warnings about exceeding the maximum line length
...
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 16:15:43 +08:00
Cocoa
0fda5c5094
Added test for removeColor option
...
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 16:11:23 +08:00
Cocoa
e26d35acfe
Using eslint-disable-next-line
...
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 15:54:33 +08:00
Cocoa
9a29125e72
Disable no-control-regex rule for the line containing \x1b in regex
...
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 15:53:07 +08:00
Cocoa
b18846c297
Fixed ESLint errors
...
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 15:18:40 +08:00
Cocoa
f25c8ed782
Added support for removing embeded color sequence for file appender
...
Signed-off-by: Cocoa <0xbbc@0xbbc.com>
2020-05-02 05:24:18 +08:00
Gareth Jones
5175f3f2fc
6.2.1
v6.2.1
2020-04-20 08:39:32 +10:00
Gareth Jones
10b7d2e7fd
chore: updated changelog
2020-04-20 08:39:24 +10:00
Gareth Jones
39aa190e92
Merge pull request #996 from log4js-node/streamroller-2.2.4
...
chore: update streamroller to 2.2.4
2020-04-20 08:37:01 +10:00
Gareth Jones
bc505b04dd
chore: update streamroller to 2.2.4
2020-04-20 08:28:14 +10:00