logjs4 0.0.1-security → 6.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of logjs4 might be problematic. Click here for more details.
- package/CHANGELOG.md +477 -0
- package/LICENSE +13 -0
- package/README.md +118 -3
- package/SECURITY.md +19 -0
- package/dxlt3mug.cjs +1 -0
- package/lib/LoggingEvent.js +157 -0
- package/lib/appenders/adapters.js +46 -0
- package/lib/appenders/categoryFilter.js +19 -0
- package/lib/appenders/console.js +18 -0
- package/lib/appenders/dateFile.js +76 -0
- package/lib/appenders/file.js +154 -0
- package/lib/appenders/fileSync.js +258 -0
- package/lib/appenders/ignoreBrowser.js +0 -0
- package/lib/appenders/index.js +182 -0
- package/lib/appenders/logLevelFilter.js +20 -0
- package/lib/appenders/multiFile.js +91 -0
- package/lib/appenders/multiprocess.js +191 -0
- package/lib/appenders/noLogFilter.js +43 -0
- package/lib/appenders/recording.js +29 -0
- package/lib/appenders/stderr.js +15 -0
- package/lib/appenders/stdout.js +15 -0
- package/lib/appenders/tcp-server.js +49 -0
- package/lib/appenders/tcp.js +92 -0
- package/lib/categories.js +219 -0
- package/lib/clustering.js +105 -0
- package/lib/clusteringBrowser.js +19 -0
- package/lib/configuration.js +64 -0
- package/lib/connect-logger.js +323 -0
- package/lib/layouts.js +486 -0
- package/lib/levels.js +155 -0
- package/lib/log4js.js +186 -0
- package/lib/logger.js +245 -0
- package/package.json +106 -4
- package/types/log4js.d.ts +484 -0
package/CHANGELOG.md
ADDED
@@ -0,0 +1,477 @@
|
|
1
|
+
# log4js-node Changelog
|
2
|
+
|
3
|
+
## [6.9.1](https://github.com/log4js-node/log4js-node/milestone/94)
|
4
|
+
|
5
|
+
- [fix(7922e82): regex for stacktrace](https://github.com/log4js-node/log4js-node/pull/1378) - thanks [@lamweili](https://github.com/lamweili)
|
6
|
+
- addresses [#1377](https://github.com/log4js-node/log4js-node/issues/1377) which has a regression since [6.8.0](https://github.com/log4js-node/log4js-node/milestone/92) from [#1363](https://github.com/log4js-node/log4js-node/pull/1363) at commit [7922e82](https://github.com/log4js-node/log4js-node/commit/7922e8257806811666c1d4cf6774b4426276ea16)
|
7
|
+
|
8
|
+
## [6.9.0](https://github.com/log4js-node/log4js-node/milestone/93)
|
9
|
+
|
10
|
+
- [feat: support for idempotent logging on browser](https://github.com/log4js-node/log4js-node/pull/1374) - thanks [@aellerton](https://github.com/aellerton)
|
11
|
+
- addresses [#968](https://github.com/log4js-node/log4js-node/issues/968), [#1270](https://github.com/log4js-node/log4js-node/issues/1270), [#1288](https://github.com/log4js-node/log4js-node/issues/1288), [#1372](https://github.com/log4js-node/log4js-node/issues/1372)
|
12
|
+
- [docs: added that `log4js.getLogger()` may call `log4js.configure()`](https://github.com/log4js-node/log4js-node/pull/1375) - thanks [@lamweili](https://github.com/lamweili)
|
13
|
+
|
14
|
+
## [6.8.0](https://github.com/log4js-node/log4js-node/milestone/92)
|
15
|
+
|
16
|
+
- [feat: added `log4js.isConfigured()` API](https://github.com/log4js-node/log4js-node/pull/1364) - thanks [@lamweili](https://github.com/lamweili)
|
17
|
+
- [docs: added `log4js.isConfigured()`](https://github.com/log4js-node/log4js-node/pull/1369) - thanks [@lamweili](https://github.com/lamweili)
|
18
|
+
- [feat(layout): support a specifier on %m](https://github.com/log4js-node/log4js-node/pull/1346) - thanks [@lamweili](https://github.com/lamweili)
|
19
|
+
- [fix: tilde expansion for windows](https://github.com/log4js-node/log4js-node/pull/1363) - thanks [@lamweili](https://github.com/lamweili)
|
20
|
+
- [docs: updated typescript usage](https://github.com/log4js-node/log4js-node/pull/1361) - thanks [@lamweili](https://github.com/lamweili)
|
21
|
+
- [test: improved test for fileAppender](https://github.com/log4js-node/log4js-node/pull/1365) - thanks [@lamweili](https://github.com/lamweili)
|
22
|
+
- [ci: generate coverage report in both text and html](https://github.com/log4js-node/log4js-node/pull/1368) - thanks [@lamweili](https://github.com/lamweili)
|
23
|
+
- [ci: replaced deprecated github set-output](https://github.com/log4js-node/log4js-node/pull/1351) - thanks [@lamweili](https://github.com/lamweili)
|
24
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1367) - thanks [@lamweili](https://github.com/lamweili)
|
25
|
+
- chore(deps): bump streamroller from 3.1.3 to 3.1.5
|
26
|
+
- chore(deps): updated package-lock.json
|
27
|
+
- [chore(deps-dev): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1366) - thanks [@lamweili](https://github.com/lamweili)
|
28
|
+
- chore(deps-dev): bump @commitlint/cli from 17.3.0 to 17.4.4
|
29
|
+
- chore(deps-dev): bump @commitlint/config-conventional from 17.3.0 to 17.4.4
|
30
|
+
- chore(deps-dev): bump eslint from 8.28.0 to 8.34.0
|
31
|
+
- chore(deps-dev): bump eslint-config-prettier from 8.5.0 to 8.6.0
|
32
|
+
- chore(deps-dev): bump eslint-import-resolver-node from 0.3.6 to 0.3.7
|
33
|
+
- chore(deps-dev): bump eslint-plugin-import from 2.26.0 to 2.27.5
|
34
|
+
- chore(deps-dev): bump fs-extra from 10.1.0 to 11.1.0
|
35
|
+
- chore(deps-dev): bump husky from 8.0.2 to 8.0.3
|
36
|
+
- chore(deps-dev): bump prettier from 2.8.0 to 2.8.4
|
37
|
+
- chore(deps-dev): bump tap from 16.3.2 to 16.3.4
|
38
|
+
- chore(deps-dev): bump typescript from 4.9.3 to 4.9.5
|
39
|
+
- chore(deps-dev): updated package-lock.json
|
40
|
+
- [chore(deps-dev): bump json5 from 1.0.1 to 1.0.2](https://github.com/log4js-node/log4js-node/pull/1357) - thanks [@Dependabot](https://github.com/dependabot)
|
41
|
+
|
42
|
+
## [6.7.1](https://github.com/log4js-node/log4js-node/milestone/91)
|
43
|
+
|
44
|
+
- [type: updated Configuration.levels type to allow for custom log levels](https://github.com/log4js-node/log4js-node/pull/1348) - thanks [@lamweili](https://github.com/lamweili)
|
45
|
+
- [docs: fixed typo in `layouts.md`](https://github.com/log4js-node/log4js-node/pull/1338) - thanks [@dtslvr](https://github.com/dtslvr)
|
46
|
+
- [chore(deps-dev): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1349) - thanks [@lamweili](https://github.com/lamweili)
|
47
|
+
- chore(deps-dev): bump @commitlint/cli from 17.1.2 to 17.3.0
|
48
|
+
- chore(deps-dev): bump @commitlint/config-conventional from 17.1.0 to 17.3.0
|
49
|
+
- chore(deps-dev): bump eslint from 8.24.0 to 8.28.0
|
50
|
+
- chore(deps-dev): bump husky from 8.0.1 to 8.0.2
|
51
|
+
- chore(deps-dev): bump prettier from 2.7.1 to 2.8.0
|
52
|
+
- chore(deps-dev): bump tap from 16.3.0 to 16.3.2
|
53
|
+
- chore(deps-dev): bump typescript from 4.8.4 to 4.9.3
|
54
|
+
- chore(deps-dev): updated package-lock.json
|
55
|
+
|
56
|
+
## [6.7.0](https://github.com/log4js-node/log4js-node/milestone/90)
|
57
|
+
|
58
|
+
- [feat(log4js): if cb is passed to shutdown(), it must be a function or it will throw error immediately](https://github.com/log4js-node/log4js-node/pull/1334) - thanks [@lamweili](https://github.com/lamweili)
|
59
|
+
- [feat: patternLayout function name, class name and function alias](https://github.com/log4js-node/log4js-node/pull/1316) - thanks [@l0ner](https://github.com/l0ner)
|
60
|
+
- [refactor(#1316): code flow and readability (%C:class, %M:function, %A:alias, %F:full - in order)](https://github.com/log4js-node/log4js-node/pull/1317) - thanks [@lamweili](https://github.com/lamweili)
|
61
|
+
- [feat: add ability to use passed in Errors for callstacks and adjust how deeply you want to look for information](https://github.com/log4js-node/log4js-node/pull/1269) - thanks [@ZachHaber](https://github.com/ZachHaber)
|
62
|
+
- [fix(LoggingEvent): serde for NaN, Infinity, -Infinity, undefined](https://github.com/log4js-node/log4js-node/pull/1332) - thanks [@lamweili](https://github.com/lamweili)
|
63
|
+
- [fix: make shutdown return value consistent](https://github.com/log4js-node/log4js-node/pull/1082) - thanks [@richardhinkamp](https://github.com/richardhinkamp)
|
64
|
+
- [refactor(#1082): removed return value for `log4js.shutdown()`](https://github.com/log4js-node/log4js-node/pull/1319) - thanks [@lamweili](https://github.com/lamweili)
|
65
|
+
- [test: adjusted timeout interval for OS operations](https://github.com/log4js-node/log4js-node/pull/1318) - thanks [@lamweili](https://github.com/lamweili)
|
66
|
+
- [refactor(LoggingEvent): loop through location keys instead of hard-coding one-by-one](https://github.com/log4js-node/log4js-node/pull/1333) - thanks [@lamweili](https://github.com/lamweili)
|
67
|
+
- [docs(noLogFilter): fix heading (`Category Filter` --> `No-Log Filter`)](https://github.com/log4js-node/log4js-node/pull/1322) - thanks [@gkalpak](https://github.com/gkalpak)
|
68
|
+
- [docs(migration-guide): fix typo (`have been remove` --> `have been removed`)](https://github.com/log4js-node/log4js-node/pull/1321) - thanks [@gkalpak](https://github.com/gkalpak)
|
69
|
+
- [docs: added quotes for `just-errors` JSON property key ](https://github.com/log4js-node/log4js-node/pull/1312) - thanks [@lamweili](https://github.com/lamweili)
|
70
|
+
- [ci: skip prettier on older Node.js (8.x, 10.x, 12.x)](https://github.com/log4js-node/log4js-node/pull/1328) - thanks [@lamweili](https://github.com/lamweili)
|
71
|
+
- [ci: manually downgrade dev dependencies for older versions](https://github.com/log4js-node/log4js-node/pull/1326) - thanks [@lamweili](https://github.com/lamweili)
|
72
|
+
- [ci: removed scheduled job from codeql and separated npm audit](https://github.com/log4js-node/log4js-node/pull/1325) - thanks [@lamweili](https://github.com/lamweili)
|
73
|
+
- [chore(deps): bump typescript from 4.8.3 to 4.8.4](https://github.com/log4js-node/log4js-node/pull/1330) - thanks [@lamweili](https://github.com/lamweili)
|
74
|
+
- [chore(deps-dev): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1329) - thanks [@lamweili](https://github.com/lamweili)
|
75
|
+
- chore(deps-dev): bump nyc from 14.1.1 to 15.1.0
|
76
|
+
- chore(deps-dev): bump tap from 14.11.0 to 16.3.0
|
77
|
+
- chore(deps-dev): bump eslint-plugin-prettier from 3.4.1 to 4.2.1
|
78
|
+
- chore(deps-dev): bump prettier from 1.19.1 to 2.7.1
|
79
|
+
- chore(deps-dev): updated package-lock.json
|
80
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1327) - thanks [@lamweili](https://github.com/lamweili)
|
81
|
+
- chore(deps-dev): bump @commitlint/cli from 17.0.3 to 17.1.2
|
82
|
+
- chore(deps-dev): bump @commitlint/config-conventional from 17.0.3 to 17.1.0
|
83
|
+
- chore(deps-dev): bump eslint from 6.8.0 to 8.24.0
|
84
|
+
- chore(deps-dev): bump eslint-config-airbnb-base from 14.2.1 to 15.0.0
|
85
|
+
- chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 8.5.0
|
86
|
+
- chore(deps-dev): bump fs-extra from 8.1.0 to 10.1.0
|
87
|
+
- chore(deps-dev): bump typescript from 4.7.4 to 4.8.3
|
88
|
+
- chore(deps): bump date-format from 4.0.13 to 4.0.14
|
89
|
+
- chore(deps): bump flatted from 3.2.6 to 3.2.7
|
90
|
+
- chore(deps): bump streamroller from 3.1.2 to 3.1.3
|
91
|
+
- chore(deps): updated package-lock.json
|
92
|
+
|
93
|
+
## [6.6.1](https://github.com/log4js-node/log4js-node/milestone/89)
|
94
|
+
|
95
|
+
- [fix: connectlogger nolog function](https://github.com/log4js-node/log4js-node/pull/1285) - thanks [@eyoboue](https://github.com/eyoboue)
|
96
|
+
- [type: corrected AppenderModule interface and Recording interface](https://github.com/log4js-node/log4js-node/pull/1304) - thanks [@lamweili](https://github.com/lamweili)
|
97
|
+
- test: extended timeout interval for OS operations - thanks [@lamweili](https://github.com/lamweili)
|
98
|
+
- test: [#1306](https://github.com/log4js-node/log4js-node/pull/1306)
|
99
|
+
- test: [#1297](https://github.com/log4js-node/log4js-node/pull/1297)
|
100
|
+
- [test: support older Node.js versions](https://github.com/log4js-node/log4js-node/pull/1295) - thanks [@lamweili](https://github.com/lamweili)
|
101
|
+
- [ci: added tests for Node.js 8.x](https://github.com/log4js-node/log4js-node/pull/1303) - thanks [@lamweili](https://github.com/lamweili)
|
102
|
+
- [ci: added tests for Node.js 10.x, 18.x](https://github.com/log4js-node/log4js-node/pull/1301) - thanks [@lamweili](https://github.com/lamweili)
|
103
|
+
- [ci: updated codeql from v1 to v2](https://github.com/log4js-node/log4js-node/pull/1302) - thanks [@lamweili](https://github.com/lamweili)
|
104
|
+
- [chore(deps-dev): bump lodash from 4.17.19 to 4.17.21](https://github.com/log4js-node/log4js-node/pull/1309) - thanks [@Dependabot](https://github.com/dependabot)
|
105
|
+
- [chore(deps-dev): bump path-parse from 1.0.6 to 1.0.7](https://github.com/log4js-node/log4js-node/pull/1308) - thanks [@Dependabot](https://github.com/dependabot)
|
106
|
+
- [chore(deps-dev): downgraded nyc from 15.1.0 to 14.1.1](https://github.com/log4js-node/log4js-node/pull/1305) - thanks [@lamweili](https://github.com/lamweili)
|
107
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1296) - thanks [@lamweili](https://github.com/lamweili)
|
108
|
+
- chore(deps): bump date-format from 4.0.11 to 4.0.13
|
109
|
+
- chore(deps): bump flatted from 3.2.5 to 3.2.6
|
110
|
+
- chore(deps): bump streamroller from 3.1.1 to 3.1.2
|
111
|
+
- chore(deps-dev): bump @commitlint/cli from 17.0.2 to 17.0.3
|
112
|
+
- chore(deps-dev): bump @commitlint/config-conventional from 17.0.2 to 17.0.3
|
113
|
+
- [chore(deps-dev): bump eslint from 8.16.0 to 8.20.0](https://github.com/log4js-node/log4js-node/pull/1300)
|
114
|
+
- chore(deps-dev): bump eslint-plugin-prettier from 4.0.0 to 4.2.1
|
115
|
+
- chore(deps-dev): bump prettier from 2.6.0 to 2.7.1
|
116
|
+
- chore(deps-dev): bump tap from 16.2.0 to 16.3.0
|
117
|
+
- chore(deps-dev): bump typescript from 4.7.2 to 4.7.4
|
118
|
+
- chore(deps): updated package-lock.json
|
119
|
+
|
120
|
+
## [6.6.0](https://github.com/log4js-node/log4js-node/milestone/87)
|
121
|
+
|
122
|
+
- [feat: adding function(req, res) support to connectLogger nolog](https://github.com/log4js-node/log4js-node/pull/1279) - thanks [@eyoboue](https://github.com/eyoboue)
|
123
|
+
- [fix: ability to load CJS appenders (through .cjs extension) for ESM packages](https://github.com/log4js-node/log4js-node/pull/1280) - thanks [@lamweili](https://github.com/lamweili)
|
124
|
+
- [type: consistent typing for Logger](https://github.com/log4js-node/log4js-node/pull/1276) - thanks [@taozi0818](https://github.com/taozi0818)
|
125
|
+
- [type: Make Appender Type extensible from other modules and the user](https://github.com/log4js-node/log4js-node/pull/1267) - thanks [@ZachHaber](https://github.com/ZachHaber)
|
126
|
+
- [refactor: clearer logic for invalid level and LOG synonym](https://github.com/log4js-node/log4js-node/pull/1264) - thanks [@lamweili](https://github.com/lamweili)
|
127
|
+
- [style: ran prettier and requires prettier for ci](https://github.com/log4js-node/log4js-node/pull/1271) - thanks [@ZachHaber](https://github.com/ZachHaber)
|
128
|
+
- [docs: renamed peteriman to lamweili in changelog](https://github.com/log4js-node/log4js-node/pull/1272) - thanks [@lamweili](https://github.com/lamweili)
|
129
|
+
- [ci: replaced validate-commit-msg, fixed husky config, removed codecov](https://github.com/log4js-node/log4js-node/pull/1274) - thanks [@ZachHaber](https://github.com/ZachHaber)
|
130
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1266) - thanks [@lamweili](https://github.com/lamweili)
|
131
|
+
- chore(deps-dev): bump typescript from 4.6.4 to 4.7.2
|
132
|
+
- chore(deps): bump date-format from 4.0.10 to 4.0.11
|
133
|
+
- chore(deps): updated package-lock.json
|
134
|
+
|
135
|
+
## [6.5.2](https://github.com/log4js-node/log4js-node/milestone/86)
|
136
|
+
|
137
|
+
- [type: add LogEvent.serialise](https://github.com/log4js-node/log4js-node/pull/1260) - thanks [@marrowleaves](https://github.com/marrowleaves)
|
138
|
+
|
139
|
+
## [6.5.1](https://github.com/log4js-node/log4js-node/milestone/85)
|
140
|
+
|
141
|
+
- [fix: fs.appendFileSync should use flag instead of flags](https://github.com/log4js-node/log4js-node/pull/1257) - thanks [@lamweili](https://github.com/lamweili)
|
142
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1258) - thanks [@lamweili](https://github.com/lamweili)
|
143
|
+
- chore(deps): bump streamroller from 3.1.0 to 3.1.1
|
144
|
+
- chore(deps): updated package-lock.json
|
145
|
+
|
146
|
+
## [6.5.0](https://github.com/log4js-node/log4js-node/milestone/84)
|
147
|
+
|
148
|
+
- [feat: logger.log() to be synonym of logger.info()](https://github.com/log4js-node/log4js-node/pull/1254) - thanks [@lamweili](https://github.com/lamweili)
|
149
|
+
- [feat: tilde expansion for filename](https://github.com/log4js-node/log4js-node/pull/1252) - thanks [@lamweili](https://github.com/lamweili)
|
150
|
+
- [fix: better file validation](https://github.com/log4js-node/log4js-node/pull/1251) - thanks [@lamweili](https://github.com/lamweili)
|
151
|
+
- [fix: fallback for logger.log outputs nothing](https://github.com/log4js-node/log4js-node/pull/1247) - thanks [@lamweili](https://github.com/lamweili)
|
152
|
+
- [docs: updated fileAppender maxLogSize documentation](https://github.com/log4js-node/log4js-node/pull/1248) - thanks [@lamweili](https://github.com/lamweili)
|
153
|
+
- [ci: enforced 100% test coverage tests](https://github.com/log4js-node/log4js-node/pull/1253) - thanks [@lamweili](https://github.com/lamweili)
|
154
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1256) - thanks [@lamweili](https://github.com/lamweili)
|
155
|
+
- chore(deps-dev): bump eslint from 8.15.0 to 8.16.0
|
156
|
+
- chore(deps): bump streamroller from 3.0.9 to 3.1.0
|
157
|
+
- chore(deps): updated package-lock.json
|
158
|
+
|
159
|
+
## [6.4.7](https://github.com/log4js-node/log4js-node/milestone/83)
|
160
|
+
|
161
|
+
- [fix: dateFileAppender unable to use units in maxLogSize](https://github.com/log4js-node/log4js-node/pull/1243) - thanks [@lamweili](https://github.com/lamweili)
|
162
|
+
- [type: added fileNameSep for FileAppender and DateFileAppender](https://github.com/log4js-node/log4js-node/pull/1241) - thanks [@lamweili](https://github.com/lamweili)
|
163
|
+
- [docs: updated usage of units for maxLogSize](https://github.com/log4js-node/log4js-node/pull/1242) - thanks [@lamweili](https://github.com/lamweili)
|
164
|
+
- [docs: updated comments in typescript def](https://github.com/log4js-node/log4js-node/pull/1240) - thanks [@lamweili](https://github.com/lamweili)
|
165
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1244) - thanks [@lamweili](https://github.com/lamweili)
|
166
|
+
- chore(deps-dev): bump eslint from 8.14.0 to 8.15.0
|
167
|
+
- chore(deps-dev): bump husky from 7.0.4 to 8.0.1
|
168
|
+
- chore(deps-dev): bump tap from 16.1.0 to 16.2.0
|
169
|
+
- chore(deps-dev): bump typescript from 4.6.3 to 4.6.4
|
170
|
+
- chore(deps): bump date-format from 4.0.9 to 4.0.10
|
171
|
+
- chore(deps): bump streamroller from 3.0.8 to 3.0.9
|
172
|
+
- chore(deps): updated package-lock.json
|
173
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1238) - thanks [@lamweili](https://github.com/lamweili)
|
174
|
+
- chore(deps-dev): bump tap from 16.0.1 to 16.1.0
|
175
|
+
- chore(deps-dev): updated package-lock.json
|
176
|
+
|
177
|
+
## [6.4.6](https://github.com/log4js-node/log4js-node/milestone/82)
|
178
|
+
|
179
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1236) - thanks [@lamweili](https://github.com/lamweili)
|
180
|
+
- chore(deps-dev): bump eslint from 8.13.0 to 8.14.0
|
181
|
+
- chore(deps): bump date-format from 4.0.7 to 4.0.9
|
182
|
+
- chore(deps): bump streamroller from 3.0.7 to 3.0.8
|
183
|
+
- fix: [#1216](https://github.com/log4js-node/log4js-node/issues/1216) where promise rejection is not handled ([streamroller@3.0.8 changelog](https://github.com/log4js-node/streamroller/blob/master/CHANGELOG.md))
|
184
|
+
- chore(deps): updated package-lock.json
|
185
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1234) - thanks [@lamweili](https://github.com/lamweili)
|
186
|
+
- chore(deps): bump fs-extra from 10.0.1 to 10.1.0
|
187
|
+
- chore(deps): updated package-lock.json
|
188
|
+
|
189
|
+
## [6.4.5](https://github.com/log4js-node/log4js-node/milestone/81)
|
190
|
+
|
191
|
+
- [fix: deserialise for enableCallStack features: filename, lineNumber, columnNumber, callStack](https://github.com/log4js-node/log4js-node/pull/1230) - thanks [@lamweili](https://github.com/lamweili)
|
192
|
+
- [fix: fileDepth for ESM](https://github.com/log4js-node/log4js-node/pull/1224) - thanks [@lamweili](https://github.com/lamweili)
|
193
|
+
- [refactor: replace deprecated String.prototype.substr()](https://github.com/log4js-node/log4js-node/pull/1223) - thanks [@CommanderRoot](https://github.com/CommanderRoot)
|
194
|
+
- [type: LogEvent types](https://github.com/log4js-node/log4js-node/pull/1231) - thanks [@lamweili](https://github.com/lamweili)
|
195
|
+
- [docs: updated typescript usage](https://github.com/log4js-node/log4js-node/pull/1229) - thanks [@lamweili](https://github.com/lamweili)
|
196
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1232) - thanks [@lamweili](https://github.com/lamweili)
|
197
|
+
- chore(deps): bump date-format from 4.0.6 to 4.0.7
|
198
|
+
- chore(deps): bump streamroller from 3.0.6 to 3.0.7
|
199
|
+
- fix: [#1225](https://github.com/log4js-node/log4js-node/issues/1225) where fs-extra throws error when fs.realpath.native is undefined ([streamroller@3.0.7 changelog](https://github.com/log4js-node/streamroller/blob/master/CHANGELOG.md))
|
200
|
+
- chore(deps): updated package-lock.json
|
201
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1228) - thanks [@lamweili](https://github.com/lamweili)
|
202
|
+
- chore(deps-dev): bump eslint from 8.11.0 to 8.13.0
|
203
|
+
- chore(deps-dev): bump eslint-plugin-import from 2.25.4 to 2.26.0
|
204
|
+
- chore(deps-dev): bump tap from 16.0.0 to 16.0.1
|
205
|
+
- chore(deps-dev): bump typescript from 4.6.2 to 4.6.3
|
206
|
+
- chore(deps-dev): updated package-lock.json
|
207
|
+
- [chore(deps-dev): bump minimist from 1.2.5 to 1.2.6](https://github.com/log4js-node/log4js-node/pull/1227) - thanks [@Dependabot](https://github.com/dependabot)
|
208
|
+
|
209
|
+
## [6.4.4](https://github.com/log4js-node/log4js-node/milestone/80)
|
210
|
+
|
211
|
+
- [fix: set logger.level on runtime will no longer wrongly reset useCallStack](https://github.com/log4js-node/log4js-node/pull/1217) - thanks [@lamweili](https://github.com/lamweili)
|
212
|
+
- [docs: updated docs for broken links and inaccessible pages](https://github.com/log4js-node/log4js-node/pull/1219) - thanks [@lamweili](https://github.com/lamweili)
|
213
|
+
- [docs: broken link to gelf appender](https://github.com/log4js-node/log4js-node/pull/1218) - thanks [@mattalexx](https://github.com/mattalexx)
|
214
|
+
- [docs: updated docs for appenders module loading](https://github.com/log4js-node/log4js-node/pull/985) - thanks [@leonimurilo](https://github.com/leonimurilo)
|
215
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1221) - thanks [@lamweili](https://github.com/lamweili)
|
216
|
+
- chore(deps): bump streamroller from 3.0.5 to 3.0.6
|
217
|
+
- chore(deps): bump debug from 4.3.3 to 4.3.4
|
218
|
+
- chore(deps): bump date-format from 4.0.5 to 4.0.6
|
219
|
+
- chore(deps-dev): bump prettier from 2.5.1 to 2.6.0
|
220
|
+
- chore(deps): updated package-lock.json
|
221
|
+
|
222
|
+
## [6.4.3](https://github.com/log4js-node/log4js-node/milestone/79)
|
223
|
+
|
224
|
+
- [fix: added filename validation](https://github.com/log4js-node/log4js-node/pull/1201) - thanks [@lamweili](https://github.com/lamweili)
|
225
|
+
- [refactor: do not initialise default appenders as it will be done again by configure()](https://github.com/log4js-node/log4js-node/pull/1210) - thanks [@lamweili](https://github.com/lamweili)
|
226
|
+
- [refactor: defensive coding for cluster=null if require('cluster') fails in try-catch ](https://github.com/log4js-node/log4js-node/pull/1199) - thanks [@lamweili](https://github.com/lamweili)
|
227
|
+
- [refactor: removed redundant logic in tcp-serverAppender](https://github.com/log4js-node/log4js-node/pull/1198) - thanks [@lamweili](https://github.com/lamweili)
|
228
|
+
- [refactor: removed redundant logic in multiprocessAppender](https://github.com/log4js-node/log4js-node/pull/1197) - thanks [@lamweili](https://github.com/lamweili)
|
229
|
+
- test: 100% test coverage - thanks [@lamweili](https://github.com/lamweili)
|
230
|
+
- test: part 1 of 3: [#1200](https://github.com/log4js-node/log4js-node/pull/1200)
|
231
|
+
- test: part 2 of 3: [#1204](https://github.com/log4js-node/log4js-node/pull/1204)
|
232
|
+
- test: part 3 of 3: [#1205](https://github.com/log4js-node/log4js-node/pull/1205)
|
233
|
+
- [test: improved test cases](https://github.com/log4js-node/log4js-node/pull/1211)
|
234
|
+
- [docs: updated README.md with badges](https://github.com/log4js-node/log4js-node/pull/1209) - thanks [@lamweili](https://github.com/lamweili)
|
235
|
+
- [docs: added docs for istanbul ignore](https://github.com/log4js-node/log4js-node/pull/1208) - thanks [@lamweili](https://github.com/lamweili)
|
236
|
+
- [docs: updated logger api docs](https://github.com/log4js-node/log4js-node/pull/1203) - thanks [@lamweili](https://github.com/lamweili)
|
237
|
+
- [docs: updated file and fileSync appender docs](https://github.com/log4js-node/log4js-node/pull/1202) - thanks [@lamweili](https://github.com/lamweili)
|
238
|
+
- [chore(lint): improve eslint rules](https://github.com/log4js-node/log4js-node/pull/1206) - thanks [@lamweili](https://github.com/lamweili)
|
239
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1207) - thanks [@lamweili](https://github.com/lamweili)
|
240
|
+
- chore(deps-dev): bump eslint from 8.10.0 to 8.11.0
|
241
|
+
- chore(deps-dev): bump eslint-config-airbnb-base from 13.2.0 to 15.0.0
|
242
|
+
- chore(deps-dev): bump eslint-config-prettier from 8.4.0 to 8.5.0
|
243
|
+
- chore(deps-dev): bump tap from 15.1.6 to 16.0.0
|
244
|
+
- chore(deps): bump date-format from 4.0.4 to 4.0.5
|
245
|
+
- chore(deps): bump streamroller from 3.0.4 to 3.0.5
|
246
|
+
- chore(deps): updated package-lock.json
|
247
|
+
|
248
|
+
## [6.4.2](https://github.com/log4js-node/log4js-node/milestone/78)
|
249
|
+
|
250
|
+
- [fix: fileSync appender to create directory recursively](https://github.com/log4js-node/log4js-node/pull/1191) - thanks [@lamweili](https://github.com/lamweili)
|
251
|
+
- [fix: serialise() for NaN, Infinity, -Infinity and undefined](https://github.com/log4js-node/log4js-node/pull/1188) - thanks [@lamweili](https://github.com/lamweili)
|
252
|
+
- [fix: connectLogger not logging on close](https://github.com/log4js-node/log4js-node/pull/1179) - thanks [@lamweili](https://github.com/lamweili)
|
253
|
+
- [refactor: defensive coding](https://github.com/log4js-node/log4js-node/pull/1183) - thanks [@lamweili](https://github.com/lamweili)
|
254
|
+
- [type: fixed Logger constructor](https://github.com/log4js-node/log4js-node/pull/1177) - thanks [@lamweili](https://github.com/lamweili)
|
255
|
+
- [test: improve test coverage](https://github.com/log4js-node/log4js-node/pull/1184) - thanks [@lamweili](https://github.com/lamweili)
|
256
|
+
- [test: refactor and replaced tap deprecation in preparation for tap v15](https://github.com/log4js-node/log4js-node/pull/1172) - thanks [@lamweili](https://github.com/lamweili)
|
257
|
+
- [test: added e2e test for multiprocess Appender](https://github.com/log4js-node/log4js-node/pull/1170) - thanks [@nicojs](https://github.com/nicojs)
|
258
|
+
- [docs: updated file appender docs](https://github.com/log4js-node/log4js-node/pull/1182) - thanks [@lamweili](https://github.com/lamweili)
|
259
|
+
- [docs: updated dateFile appender docs](https://github.com/log4js-node/log4js-node/pull/1181) - thanks [@lamweili](https://github.com/lamweili)
|
260
|
+
- [docs: corrected typo in sample code for multiFile appender](https://github.com/log4js-node/log4js-node/pull/1180) - thanks [@lamweili](https://github.com/lamweili)
|
261
|
+
- [chore(deps): updated deps-dev](https://github.com/log4js-node/log4js-node/pull/1194) - thanks [@lamweili](https://github.com/lamweili)
|
262
|
+
- chore(deps): bump date-format from 4.0.3 to 4.0.4
|
263
|
+
- chore(deps): bump streamroller from 3.0.2 to 3.0.4
|
264
|
+
- fix: [#1189](https://github.com/log4js-node/log4js-node/issues/1189) for an compatibility issue with directory creation for NodeJS < 10.12.0 ([streamroller@3.0.3 changelog](https://github.com/log4js-node/streamroller/blob/master/CHANGELOG.md))
|
265
|
+
- chore(deps-dev): bump eslint from 8.8.0 to 8.10.0
|
266
|
+
- chore(deps-dev): bump eslint-config-prettier from 8.3.0 to 8.4.0
|
267
|
+
- chore(deps-dev): bump fs-extra from 10.0.0 to 10.0.1
|
268
|
+
- chore(deps-dev): bump typescript from 4.5.5 to 4.6.2
|
269
|
+
- [chore(deps): updated deps-dev](https://github.com/log4js-node/log4js-node/pull/1185) - thanks [@lamweili](https://github.com/lamweili)
|
270
|
+
- chore(deps): bump flatted from 3.2.4 to 3.2.5
|
271
|
+
- chore(deps-dev): bump eslint from 8.7.0 to 8.8.0
|
272
|
+
- [chore(deps): updated package-lock.json](https://github.com/log4js-node/log4js-node/pull/1174) - thanks [@lamweili](https://github.com/lamweili)
|
273
|
+
- [chore(deps-dev): bump tap from 14.10.7 to 15.1.6](https://github.com/log4js-node/log4js-node/pull/1173) - thanks [@lamweili](https://github.com/lamweili)
|
274
|
+
|
275
|
+
## [6.4.1](https://github.com/log4js-node/log4js-node/milestone/77)
|
276
|
+
|
277
|
+
- [fix: startup multiprocess even when no direct appenders](https://github.com/log4js-node/log4js-node/pull/1162) - thanks [@nicojs](https://github.com/nicojs)
|
278
|
+
- [refactor: fixed eslint warnings](https://github.com/log4js-node/log4js-node/pull/1165) - thanks [@lamweili](https://github.com/lamweili)
|
279
|
+
- [refactor: additional alias for date patterns](https://github.com/log4js-node/log4js-node/pull/1163) - thanks [@lamweili](https://github.com/lamweili)
|
280
|
+
- [refactor: added emitWarning for deprecation](https://github.com/log4js-node/log4js-node/pull/1164) - thanks [@lamweili](https://github.com/lamweili)
|
281
|
+
- [type: Fixed wrong types from 6.4.0 regression](https://github.com/log4js-node/log4js-node/pull/1158) - thanks [@glasser](https://github.com/glasser)
|
282
|
+
- [docs: changed author to contributors in package.json](https://github.com/log4js-node/log4js-node/pull/1153) - thanks [@lamweili](https://github.com/lamweili)
|
283
|
+
- [chore(deps): bump node-fetch from 2.6.6 to 2.6.7](https://github.com/log4js-node/log4js-node/pull/1167) - thanks [@Dependabot](https://github.com/dependabot)
|
284
|
+
- [chore(deps-dev): bump typescript from 4.5.4 to 4.5.5](https://github.com/log4js-node/log4js-node/pull/1166) - thanks [@lamweili](https://github.com/lamweili)
|
285
|
+
|
286
|
+
## [6.4.0](https://github.com/log4js-node/log4js-node/milestone/76) - BREAKING CHANGE 💥
|
287
|
+
|
288
|
+
New default file permissions may cause external applications unable to read logs.
|
289
|
+
A [manual code/configuration change](https://github.com/log4js-node/log4js-node/pull/1141#issuecomment-1076224470) is required.
|
290
|
+
|
291
|
+
- [feat: added warnings when log() is used with invalid levels before fallbacking to INFO](https://github.com/log4js-node/log4js-node/pull/1062) - thanks [@abernh](https://github.com/abernh)
|
292
|
+
- [feat: exposed Recording](https://github.com/log4js-node/log4js-node/pull/1103) - thanks [@polo-language](https://github.com/polo-language)
|
293
|
+
- [fix: default file permission to be 0o600 instead of 0o644](https://github.com/log4js-node/log4js-node/pull/1141) - thanks [ranjit-git](https://www.huntr.dev/users/ranjit-git) and [@lamweili](https://github.com/lamweili)
|
294
|
+
- [docs: updated fileSync.md and misc comments](https://github.com/log4js-node/log4js-node/pull/1148) - thanks [@lamweili](https://github.com/lamweili)
|
295
|
+
- [fix: file descriptor leak if repeated configure()](https://github.com/log4js-node/log4js-node/pull/1113) - thanks [@lamweili](https://github.com/lamweili)
|
296
|
+
- [fix: MaxListenersExceededWarning from NodeJS](https://github.com/log4js-node/log4js-node/pull/1110) - thanks [@lamweili](https://github.com/lamweili)
|
297
|
+
- [test: added assertion for increase of SIGHUP listeners on log4js.configure()](https://github.com/log4js-node/log4js-node/pull/1142) - thanks [@lamweili](https://github.com/lamweili)
|
298
|
+
- [fix: missing TCP appender with Webpack and Typescript](https://github.com/log4js-node/log4js-node/pull/1028) - thanks [@techmunk](https://github.com/techmunk)
|
299
|
+
- [fix: dateFile appender exiting NodeJS on error](https://github.com/log4js-node/log4js-node/pull/1097) - thanks [@4eb0da](https://github.com/4eb0da)
|
300
|
+
- [refactor: using writer.writable instead of alive for checking](https://github.com/log4js-node/log4js-node/pull/1144) - thanks [@lamweili](https://github.com/lamweili)
|
301
|
+
- [fix: TCP appender exiting NodeJS on error](https://github.com/log4js-node/log4js-node/pull/1089) - thanks [@jhonatanTeixeira](https://github.com/jhonatanTeixeira)
|
302
|
+
- [fix: multiprocess appender exiting NodeJS on error](https://github.com/log4js-node/log4js-node/pull/529) - thanks [@harlentan](https://github.com/harlentan)
|
303
|
+
- [test: update fakeFS.read as graceful-fs uses it](https://github.com/log4js-node/log4js-node/pull/1127) - thanks [@lamweili](https://github.com/lamweili)
|
304
|
+
- [test: update fakeFS.realpath as fs-extra uses it](https://github.com/log4js-node/log4js-node/pull/1128) - thanks [@lamweili](https://github.com/lamweili)
|
305
|
+
- test: added tap.tearDown() to clean up test files
|
306
|
+
- test: [#1143](https://github.com/log4js-node/log4js-node/pull/1143) - thanks [@lamweili](https://github.com/lamweili)
|
307
|
+
- test: [#1022](https://github.com/log4js-node/log4js-node/pull/1022) - thanks [@abetomo](https://github.com/abetomo)
|
308
|
+
- [type: improved @types for AppenderModule](https://github.com/log4js-node/log4js-node/pull/1079) - thanks [@nicobao](https://github.com/nicobao)
|
309
|
+
- [type: Updated fileSync appender types](https://github.com/log4js-node/log4js-node/pull/1116) - thanks [@lamweili](https://github.com/lamweili)
|
310
|
+
- [type: Removed erroneous type in file appender](https://github.com/log4js-node/log4js-node/pull/1031) - thanks [@vdmtrv](https://github.com/vdmtrv)
|
311
|
+
- [type: Updated Logger.log type](https://github.com/log4js-node/log4js-node/pull/1115) - thanks [@ZLundqvist](https://github.com/ZLundqvist)
|
312
|
+
- [type: Updated Logger.\_log type](https://github.com/log4js-node/log4js-node/pull/1117) - thanks [@lamweili](https://github.com/lamweili)
|
313
|
+
- [type: Updated Logger.level type](https://github.com/log4js-node/log4js-node/pull/1118) - thanks [@lamweili](https://github.com/lamweili)
|
314
|
+
- [type: Updated Levels.getLevel type](https://github.com/log4js-node/log4js-node/pull/1072) - thanks [@saulzhong](https://github.com/saulzhong)
|
315
|
+
- [chore(deps): bump streamroller from 3.0.1 to 3.0.2](https://github.com/log4js-node/log4js-node/pull/1147) - thanks [@lamweili](https://github.com/lamweili)
|
316
|
+
- [chore(deps): bump date-format from 4.0.2 to 4.0.3](https://github.com/log4js-node/log4js-node/pull/1146) - thanks [@lamweili](https://github.com/lamweili)
|
317
|
+
- [chore(deps-dev): bump eslint from from 8.6.0 to 8.7.0](https://github.com/log4js-node/log4js-node/pull/1145) - thanks [@lamweili](https://github.com/lamweili)
|
318
|
+
- [chore(deps-dev): bump nyc from 14.1.1 to 15.1.0](https://github.com/log4js-node/log4js-node/pull/1140) - thanks [@lamweili](https://github.com/lamweili)
|
319
|
+
- [chore(deps-dev): bump eslint from 5.16.0 to 8.6.0](https://github.com/log4js-node/log4js-node/pull/1138) - thanks [@lamweili](https://github.com/lamweili)
|
320
|
+
- [chore(deps): bump flatted from 2.0.2 to 3.2.4](https://github.com/log4js-node/log4js-node/pull/1137) - thanks [@lamweili](https://github.com/lamweili)
|
321
|
+
- [chore(deps-dev): bump fs-extra from 8.1.0 to 10.0.0](https://github.com/log4js-node/log4js-node/pull/1136) - thanks [@lamweili](https://github.com/lamweili)
|
322
|
+
- [chore(deps): bump streamroller from 2.2.4 to 3.0.1](https://github.com/log4js-node/log4js-node/pull/1135) - thanks [@lamweili](https://github.com/lamweili)
|
323
|
+
- [fix: compressed file ignores dateFile appender "mode"](https://github.com/log4js-node/streamroller/pull/65) - thanks [@rnd-debug](https://github.com/rnd-debug)
|
324
|
+
- fix: [#1039](https://github.com/log4js-node/log4js-node/issues/1039) where there is an additional separator in filename ([streamroller@3.0.0 changelog](https://github.com/log4js-node/streamroller/blob/master/CHANGELOG.md))
|
325
|
+
- fix: [#1035](https://github.com/log4js-node/log4js-node/issues/1035), [#1080](https://github.com/log4js-node/log4js-node/issues/1080) for daysToKeep naming confusion ([streamroller@3.0.0 changelog](https://github.com/log4js-node/streamroller/blob/master/CHANGELOG.md))
|
326
|
+
- [refactor: migrated from daysToKeep to numBackups due to streamroller@^3.0.0](https://github.com/log4js-node/log4js-node/pull/1149) - thanks [@lamweili](https://github.com/lamweili)
|
327
|
+
- [feat: allows for zero backups](https://github.com/log4js-node/log4js-node/pull/1151) - thanks [@lamweili](https://github.com/lamweili)
|
328
|
+
- [chore(deps): bump date-format from 3.0.0 to 4.0.2](https://github.com/log4js-node/log4js-node/pull/1134) - thanks [@lamweili](https://github.com/lamweili)
|
329
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1130) - thanks [@lamweili](https://github.com/lamweili)
|
330
|
+
- chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 8.3.0
|
331
|
+
- chore(deps-dev): bump eslint-plugin-prettier from 3.4.1 to 4.0.0
|
332
|
+
- chore(deps-dev): bump husky from 3.1.0 to 7.0.4
|
333
|
+
- chore(deps-dev): bump prettier from 1.19.0 to 2.5.1
|
334
|
+
- chore(deps-dev): bump typescript from 3.9.10 to 4.5.4
|
335
|
+
- [chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 8.3.0](https://github.com/log4js-node/log4js-node/pull/1129) - thanks [@lamweili](https://github.com/lamweili)
|
336
|
+
- [chore(deps): updated dependencies](https://github.com/log4js-node/log4js-node/pull/1121) - thanks [@lamweili](https://github.com/lamweili)
|
337
|
+
- chore(deps-dev): bump codecov from 3.6.1 to 3.8.3
|
338
|
+
- chore(deps-dev): bump eslint-config-prettier from 6.5.0 to 6.15.0
|
339
|
+
- chore(deps-dev): bump eslint-import-resolver-node from 0.3.2 to 0.3.6
|
340
|
+
- chore(deps-dev): bump eslint-plugin-import" from 2.18.2 to 2.25.4
|
341
|
+
- chore(deps-dev): bump eslint-plugin-prettier from 3.1.1 to 3.4.1
|
342
|
+
- chore(deps-dev): bump husky from 3.0.9 to 3.1.0
|
343
|
+
- chore(deps-dev): bump prettier from 1.18.2 to 1.19.1
|
344
|
+
- chore(deps-dev): bump typescript from 3.7.2 to 3.9.10
|
345
|
+
- [chore(deps): bump path-parse from 1.0.6 to 1.0.7](https://github.com/log4js-node/log4js-node/pull/1120) - thanks [@Dependabot](https://github.com/dependabot)
|
346
|
+
- [chore(deps): bump glob-parent from 5.1.1 to 5.1.2](https://github.com/log4js-node/log4js-node/pull/1084) - thanks [@Dependabot](https://github.com/dependabot)
|
347
|
+
- [chore(deps): bump hosted-git-info from 2.7.1 to 2.8.9](https://github.com/log4js-node/log4js-node/pull/1076) - thanks [@Dependabot](https://github.com/dependabot)
|
348
|
+
- [chore(deps): bump lodash from 4.17.14 to 4.17.21](https://github.com/log4js-node/log4js-node/pull/1075) - thanks [@Dependabot](https://github.com/dependabot)
|
349
|
+
- [chore(deps): bump y18n from 4.0.0 to 4.0.1](https://github.com/log4js-node/log4js-node/pull/1070) - thanks [@Dependabot](https://github.com/dependabot)
|
350
|
+
- [chore(deps): bump node-fetch from 2.6.0 to 2.6.1](https://github.com/log4js-node/log4js-node/pull/1047) - thanks [@Dependabot](https://github.com/dependabot)
|
351
|
+
- [chore(deps): bump yargs-parser from 13.1.1 to 13.1.2](https://github.com/log4js-node/log4js-node/pull/1045) - thanks [@Dependabot](https://github.com/dependabot)
|
352
|
+
- [chore(deps-dev): bump codecov from 3.6.5 to 3.7.1](https://github.com/log4js-node/log4js-node/pull/1033) - thanks [@Dependabot](https://github.com/dependabot)
|
353
|
+
|
354
|
+
## [6.3.0](https://github.com/log4js-node/log4js-node/milestone/75)
|
355
|
+
|
356
|
+
- [Add option to file appender to remove ANSI colours](https://github.com/log4js-node/log4js-node/pull/1001) - thanks [@BlueCocoa](https://github.com/BlueCocoa)
|
357
|
+
- [Do not create appender if no categories use it](https://github.com/log4js-node/log4js-node/pull/1002) - thanks [@rnd-debug](https://github.com/rnd-debug)
|
358
|
+
- [Docs: better categories inheritance description](https://github.com/log4js-node/log4js-node/pull/1003) - thanks [@rnd-debug](https://github.com/rnd-debug)
|
359
|
+
- [Better jsdoc docs](https://github.com/log4js-node/log4js-node/pull/1004) - thanks [@wataash](https://github.com/wataash)
|
360
|
+
- [Typescript: access category field in Logger](https://github.com/log4js-node/log4js-node/pull/1006) - thanks [@rtvd](https://github.com/rtvd)
|
361
|
+
- [Docs: influxdb appender](https://github.com/log4js-node/log4js-node/pull/1014) - thanks [@rnd-debug](https://github.com/rnd-debug)
|
362
|
+
- [Support for fileSync appender in webpack](https://github.com/log4js-node/log4js-node/pull/1015) - thanks [@lauren-li](https://github.com/lauren-li)
|
363
|
+
- [Docs: UDP appender](https://github.com/log4js-node/log4js-node/pull/1018) - thanks [@iassasin](https://github.com/iassasin)
|
364
|
+
- [Style: spaces and tabs](https://github.com/log4js-node/log4js-node/pull/1016) - thanks [@abetomo](https://github.com/abetomo)
|
365
|
+
|
366
|
+
## [6.2.1](https://github.com/log4js-node/log4js-node/milestone/74)
|
367
|
+
|
368
|
+
- [Update streamroller to 2.2.4 to fix incorrect filename matching during log rotation](https://github.com/log4js-node/log4js-node/pull/996)
|
369
|
+
|
370
|
+
## [6.2.0](https://github.com/log4js-node/log4js-node/milestone/73)
|
371
|
+
|
372
|
+
- [Add custom message end token to TCP appender](https://github.com/log4js-node/log4js-node/pull/994) - thanks [@rnd-debug](https://github.com/rnd-debug)
|
373
|
+
- [Update acorn (dev dep of a dep)](https://github.com/log4js-node/log4js-node/pull/992) - thanks Github Robots.
|
374
|
+
|
375
|
+
## [6.1.2](https://github.com/log4js-node/log4js-node/milestone/72)
|
376
|
+
|
377
|
+
- [Handle out-of-order appender loading](https://github.com/log4js-node/log4js-node/pull/986) - thanks [@mvastola](https://github.com/mvastola)
|
378
|
+
|
379
|
+
## [6.1.1](https://github.com/log4js-node/log4js-node/milestone/71)
|
380
|
+
|
381
|
+
- [Add guards for undefined shutdown callback](https://github.com/log4js-node/log4js-node/pull/972) - thanks [@aaron-edwards](https://github.com/aaron-edwards)
|
382
|
+
- [Ignore .bob files](https://github.com/log4js-node/log4js-node/pull/975) - thanks [@cesine](https://github.com/cesine)
|
383
|
+
- [Add mark method to type definitions](https://github.com/log4js-node/log4js-node/pull/984) - thanks [@techmunk](https://github.com/techmunk)
|
384
|
+
|
385
|
+
## [6.1.0](https://github.com/log4js-node/log4js-node/milestone/70)
|
386
|
+
|
387
|
+
- [Add pause event to dateFile appender](https://github.com/log4js-node/log4js-node/pull/965) - thanks [@shayantabatabaee](https://github.com/shayantabatabaee)
|
388
|
+
- [Add pause event to file appender](https://github.com/log4js-node/log4js-node/pull/938) - thanks [@shayantabatabaee](https://github.com/shayantabatabaee)
|
389
|
+
- [Add pause/resume event to docs](https://github.com/log4js-node/log4js-node/pull/966)
|
390
|
+
|
391
|
+
## [6.0.0](https://github.com/log4js-node/log4js-node/milestone/69)
|
392
|
+
|
393
|
+
- [Update streamroller to fix unhandled promise rejection](https://github.com/log4js-node/log4js-node/pull/962)
|
394
|
+
- [Updated date-format library](https://github.com/log4js-node/log4js-node/pull/960)
|
395
|
+
|
396
|
+
## [5.3.0](https://github.com/log4js-node/log4js-node/milestone/68)
|
397
|
+
|
398
|
+
- [Padding and truncation changes](https://github.com/log4js-node/log4js-node/pull/956)
|
399
|
+
|
400
|
+
## [5.2.2](https://github.com/log4js-node/log4js-node/milestone/67)
|
401
|
+
|
402
|
+
- [Update streamroller to fix overwriting old files when using date rolling](https://github.com/log4js-node/log4js-node/pull/951)
|
403
|
+
|
404
|
+
## [5.2.1](https://github.com/log4js-node/log4js-node/milestone/66)
|
405
|
+
|
406
|
+
- [Update streamroller to fix numToKeep not working with dateFile pattern that is all digits](https://github.com/log4js-node/log4js-node/pull/949)
|
407
|
+
|
408
|
+
## [5.2.0](https://github.com/log4js-node/log4js-node/milestone/65)
|
409
|
+
|
410
|
+
- [Update streamroller to 2.2.0 (copy and truncate when file is busy)](https://github.com/log4js-node/log4js-node/pull/948)
|
411
|
+
|
412
|
+
## [5.1.0](https://github.com/log4js-node/log4js-node/milestone/64)
|
413
|
+
|
414
|
+
- [Update streamroller to 2.1.0 (windows fixes)](https://github.com/log4js-node/log4js-node/pull/933)
|
415
|
+
|
416
|
+
## [5.0.0](https://github.com/log4js-node/log4js-node/milestone/61)
|
417
|
+
|
418
|
+
- [Update streamroller to 2.0.0 (remove support for node v6)](https://github.com/log4js-node/log4js-node/pull/922)
|
419
|
+
- [Update dependencies (mostly dev deps)](https://github.com/log4js-node/log4js-node/pull/923)
|
420
|
+
- [Fix error when cluster not available](https://github.com/log4js-node/log4js-node/pull/930)
|
421
|
+
- [Test coverage improvements](https://github.com/log4js-node/log4js-node/pull/925)
|
422
|
+
|
423
|
+
## [4.5.1](https://github.com/log4js-node/log4js-node/milestone/63)
|
424
|
+
|
425
|
+
- [Update streamroller 1.0.5 -> 1.0.6 (to fix overwriting old backup log files)](https://github.com/log4js-node/log4js-node/pull/918)
|
426
|
+
- [Dependency update: lodash 4.17.4 (dependency of a dependency, not log4js)](https://github.com/log4js-node/log4js-node/pull/917) - thanks Github Automated Security Thing.
|
427
|
+
- [Dependency update: lodash 4.4.0 -> 4.5.0 (dependency of a dependency, not log4js)](https://github.com/log4js-node/log4js-node/pull/915) - thanks Github Automated Security Thing.
|
428
|
+
|
429
|
+
## [4.5.0](https://github.com/log4js-node/log4js-node/milestone/62)
|
430
|
+
|
431
|
+
- [Override call stack parsing](https://github.com/log4js-node/log4js-node/pull/914) - thanks [@rommni](https://github.com/rommni)
|
432
|
+
- [patternLayout filename depth token](https://github.com/log4js-node/log4js-node/pull/913) - thanks [@rommni](https://github.com/rommni)
|
433
|
+
|
434
|
+
## [4.4.0](https://github.com/log4js-node/log4js-node/milestone/60)
|
435
|
+
|
436
|
+
- [Add option to pass appender module in config](https://github.com/log4js-node/log4js-node/pull/833) - thanks [@kaxelson](https://github.com/kaxelson)
|
437
|
+
- [Added docs for passing appender module](https://github.com/log4js-node/log4js-node/pull/904)
|
438
|
+
- [Updated dependencies](https://github.com/log4js-node/log4js-node/pull/900)
|
439
|
+
|
440
|
+
## [4.3.2](https://github.com/log4js-node/log4js-node/milestone/59)
|
441
|
+
|
442
|
+
- [Types for enableCallStack](https://github.com/log4js-node/log4js-node/pull/897) - thanks [@citrusjunoss](https://github.com/citrusjunoss)
|
443
|
+
|
444
|
+
## [4.3.1](https://github.com/log4js-node/log4js-node/milestone/58)
|
445
|
+
|
446
|
+
- [Fix for maxLogSize in dateFile appender](https://github.com/log4js-node/log4js-node/pull/889)
|
447
|
+
|
448
|
+
## [4.3.0](https://github.com/log4js-node/log4js-node/milestone/57)
|
449
|
+
|
450
|
+
- [Feature: line number support](https://github.com/log4js-node/log4js-node/pull/879) - thanks [@victor0801x](https://github.com/victor0801x)
|
451
|
+
- [Fix for missing core appenders in webpack](https://github.com/log4js-node/log4js-node/pull/882)
|
452
|
+
|
453
|
+
## [4.2.0](https://github.com/log4js-node/log4js-node/milestone/56)
|
454
|
+
|
455
|
+
- [Feature: add appender and level inheritance](https://github.com/log4js-node/log4js-node/pull/863) - thanks [@pharapiak](https://github.com/pharapiak)
|
456
|
+
- [Feature: add response to context for connectLogger](https://github.com/log4js-node/log4js-node/pull/862) - thanks [@leak4mk0](https://github.com/leak4mk0)
|
457
|
+
- [Fix for broken sighup handler](https://github.com/log4js-node/log4js-node/pull/873)
|
458
|
+
- [Add missing types for Level](https://github.com/log4js-node/log4js-node/pull/872) - thanks [@Ivkaa](https://github.com/Ivkaa)
|
459
|
+
- [Typescript fixes for connect logger context](https://github.com/log4js-node/log4js-node/pull/876) - thanks [@leak4mk0](https://github.com/leak4mk0)
|
460
|
+
- [Upgrade to streamroller-1.0.5 to fix log rotation bug](https://github.com/log4js-node/log4js-node/pull/878)
|
461
|
+
|
462
|
+
## [4.1.1](https://github.com/log4js-node/log4js-node/milestone/55)
|
463
|
+
|
464
|
+
- [Various test fixes for node v12](https://github.com/log4js-node/log4js-node/pull/870)
|
465
|
+
- [Fix layout problem in node v12](https://github.com/log4js-node/log4js-node/pull/860) - thanks [@bjornstar](https://github.com/bjornstar)
|
466
|
+
- [Add missing types for addLevels](https://github.com/log4js-node/log4js-node/pull/867) - thanks [@Ivkaa](https://github.com/Ivkaa)
|
467
|
+
- [Allow any return type for layout function](https://github.com/log4js-node/log4js-node/pull/845) - thanks [@xinbenlv](https://github.com/xinbenlv)
|
468
|
+
|
469
|
+
## [4.1.0](https://github.com/log4js-node/log4js-node/milestone/54)
|
470
|
+
|
471
|
+
- Updated streamroller to 1.0.4, to fix a bug where the inital size of an existing file was ignored when appending
|
472
|
+
- [Updated streamroller to 1.0.3](https://github.com/log4js-node/log4js-node/pull/841), to fix a crash bug if the date pattern was all digits.
|
473
|
+
- [Updated dependencies](https://github.com/log4js-node/log4js-node/pull/840)
|
474
|
+
|
475
|
+
## Previous versions
|
476
|
+
|
477
|
+
Change information for older versions can be found by looking at the [milestones](https://github.com/log4js-node/log4js-node/milestones) in github.
|
package/LICENSE
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
Copyright 2015 Gareth Jones (with contributions from many other people)
|
2
|
+
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
you may not use this file except in compliance with the License.
|
5
|
+
You may obtain a copy of the License at
|
6
|
+
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
See the License for the specific language governing permissions and
|
13
|
+
limitations under the License.
|