Skip to content

Commit 461ec3b

Browse files
author
jcayne-ibm
authored
Allow log4js 4 peer dependency (#9)
1 parent 457da77 commit 461ec3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export log4js_logmet_logging_port=9091
1919
To get the secure token and space id see the instructions here: https://pages.github.ibm.com/alchemy-logmet/getting-started/authentication.html
2020

2121
## Usage
22-
You must be using [log4js-node](https://github.com/nomiddlename/log4js-node) 3.x and must call `log4js.configure('/path/to/log4js.json')`
22+
You must be using [log4js-node](https://github.com/nomiddlename/log4js-node) 3.x or 4.x, and must call `log4js.configure('/path/to/log4js.json')`
2323
somewhere in your code.
2424

2525
You must add the following to the list of appenders in your `log4js.json` file:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "log4js-logmet-appender",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Logmet appender for node-log4js",
55
"author": "Herman Singh Badwal <hermanba@ca.ibm.com>",
66
"license": "MIT",
@@ -12,7 +12,7 @@
1212
"logmet-client": "^1.0.0"
1313
},
1414
"peerDependencies": {
15-
"log4js": "3"
15+
"log4js": ">= 3 < 5"
1616
},
1717
"devDependencies": {
1818
"eslint": "^2.10.2"

0 commit comments

Comments
 (0)