Skip to content

Commit

Permalink
Updating log line
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Jan 2, 2021
1 parent 33cc466 commit 90eeac8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/woodland.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class Woodland extends EventEmitter {
}

if (this.logging.enabled) {
this.log(`type=decorate, message="Decorated request from ${req.ip}"`, "debug");
this.log(`type=decorate, uri=${req.parsed.pathname}, method=${req.method}, ip=${req.ip}, message="Decorated request from ${req.ip}"`, "debug");
}
}

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "woodland",
"version": "15.1.4",
"version": "15.1.5",
"description": "Lightweight HTTP router with automatic headers",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 90eeac8

Please sign in to comment.