Gareth Jones
dc8f2fea24
Merge pull request #867 from Ivkaa/patch-1
...
Add missing types for addLevels
2019-05-01 08:09:01 +10:00
Paul Harapiak
045a1feef0
feat: improved doc'n for category hierarchy
2019-04-30 08:22:04 -04:00
Ivkaa
0902620436
Add missing types for addLevels
2019-04-30 11:12:19 +02:00
Paul Harapiak
04f65044a5
Merge branch 'inherit-parent-category-config' of https://github.com/pharapiak/log4js-node into inherit-parent-category-config
2019-04-25 22:39:34 -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
Paul Harapiak
fa7c5ca1fb
feat: inherit appenders and level from base
2019-04-25 14:10:45 -04:00
Paul Harapiak
a81bf78d50
feat: add appenders and level inheritance
2019-04-25 14:05:17 -04:00
Paul Harapiak
805634f4d2
feat: add appender and level inheritance
2019-04-25 13:12:25 -04:00
leak4mk0
f9ddc61d07
feat(connectLogger): add response to context
2019-04-26 00:02:51 +09:00
Gareth Jones
5c5d572a8e
Merge branch 'master' into fixes-for-node-v12
2019-04-25 11:25:10 +10:00
Gareth Jones
d03bcae0f7
Merge pull request #860 from bjornstar/fix-node-12-levels
...
fix(layout): Use level as a string for node v12
2019-04-25 11:24:23 +10:00
Gareth Jones
c3aed45864
chore: update deps, add v12 to travis config
2019-04-25 11:13:32 +10:00
Gareth Jones
9d630af089
test: fixes for node 12
2019-04-25 10:33:36 +10:00
Bjorn Stromberg
027f2567b6
fix(layout): Use level as a string for node v12 ( Fixes #859 )
2019-04-24 15:21:47 +09:00
Gareth Jones
945247028a
4.1.0
v4.1.0
2019-03-26 08:46:52 +11:00
Gareth Jones
30c5f3f9f0
chore: updated changelog for 4.1.0
2019-03-26 08:46:47 +11:00
Gareth Jones
63e1d98fc3
Merge pull request #851 from log4js-node/log-rolling-bug
...
fix: updated streamroller to fix log rolling when appending
2019-03-26 08:45:02 +11:00
Gareth Jones
e290b6fea6
fix: updated streamroller to fix log rolling when appending
2019-03-26 08:32:54 +11:00
xinbenlv
3d529acf2a
Allow anything in the addLayout
...
per
# Adding your own layouts
You can add your own layouts by calling `log4js.addLayout(type, fn)` before calling `log4js.configure`. `type` is the label you want to use to refer to your layout in appender configuration. `fn` is a function that takes a single object argument, which will contain the configuration for the layout instance, and returns a layout function. A layout function takes a log event argument and **returns a string (usually, although you could return anything as long as the appender knows what to do with it).**
2019-03-11 21:49:06 -07:00
Gareth Jones
e4611e1188
Merge pull request #841 from log4js-node/streamroller-1.0.3
...
fix: updated streamroller dep to fix bug
2019-02-28 08:17:30 +11:00
Gareth Jones
a406ed80aa
chore: change for updated husky
2019-02-28 08:00:41 +11:00
Gareth Jones
0410f786a6
fix: merged package-lock
2019-02-28 07:59:22 +11:00
Gareth Jones
675dfd9642
Merge pull request #840 from martinheidegger/update-dependencies
...
Updating dependencies (including eslint)
2019-02-21 09:43:15 +11:00
Gareth Jones
4d3fb3234d
fix: updated streamroller dep to fix bug
2019-02-21 09:29:47 +11: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
8221adac2d
4.0.2
v4.0.2
2019-02-04 08:44:13 +11:00
Gareth Jones
8757ecd0b1
Merge pull request #831 from log4js-node/improve-connect-logger-coverage
...
Improve connect logger coverage
2019-02-04 08:43:37 +11: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
24c3c4d43f
4.0.1
v4.0.1
2019-01-29 09:28:59 +11:00
Gareth Jones
a26a1ea482
Merge pull request #830 from log4js-node/fix-level-override
...
fix : #827 - level overrides
2019-01-29 09:27:53 +11:00
Gareth Jones
d8415fd11b
fix : #827 - level overrides
2019-01-29 09:17:03 +11:00
Gareth Jones
1554503985
4.0.0
v4.0.0
2019-01-25 08:24:02 +11:00
Gareth Jones
615492d09f
docs: mention that file and dateFile are the same now
2019-01-25 08:22:02 +11:00
Gareth Jones
19a79939f2
Merge branch 'LoneRifle-flatted'
2019-01-25 07:58:33 +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
dca0e8e591
fix: got package-lock.json back in sync
2019-01-24 08:43:15 +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
Gareth Jones
2f738eb5c3
Merge pull request #819 from blakambr/master
...
Feature - Add status code rulesets for connectLogger
2018-12-20 08:06:45 +11:00
blakambr
d271722170
feat(connectLogger): add status code rulesets
2018-12-19 16:52:15 +11:00
blakambr
84437ef51e
feat(connectLogger): added status code rulesets + tests
2018-12-19 16:50:33 +11:00
Gareth Jones
d0915bf9e2
Merge pull request #815 from mattiacapitanio/noLogFilter
...
FeatureRequest: nolog in general config #640
2018-12-03 07:33:01 +11:00
Mattia Capitanio
80ca5965cb
feat(noLogFilter): added no log filter regexp in general config
2018-12-02 17:08:39 +01:00
Gareth Jones
f7eee87955
Merge pull request #807 from jiro4989/hotfix/fix_example_code
...
[fix]change wrong property name, from 'numBackups' to 'backups'
2018-11-14 11:22:32 +11:00
jiro4989
149c102fda
[fix]change wrong property name, from 'numBackups' to 'backups'
2018-11-14 07:41:23 +09: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
86333dc57d
3.0.6
v3.0.6
2018-10-09 08:01:28 +11:00