Comparing version 15.1.10 to 15.1.11
@@ -29,3 +29,3 @@ "use strict"; | ||
enabled: logging.enabled !== false, | ||
format: logging.format || "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"", | ||
format: logging.format || "%h %l %u %t \"%r\" %>s %b", | ||
level: logging.level || "info" | ||
@@ -32,0 +32,0 @@ }; |
{ | ||
"name": "woodland", | ||
"version": "15.1.10", | ||
"version": "15.1.11", | ||
"description": "Lightweight HTTP router with automatic headers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -107,3 +107,3 @@ <img src="https://avoidwork.github.io/woodland/logo.svg" width="108" /> | ||
"enabled": true, | ||
"format": "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"", | ||
"format": "%h %l %u %t \"%r\" %>s %b", | ||
"level": "info" | ||
@@ -163,3 +163,3 @@ }, | ||
## Logging | ||
Woodland blends [Common Log Format with Virtual Host](https://en.wikipedia.org/wiki/Common_Log_Format) & [NCSA extended/combined log format](https://httpd.apache.org/docs/trunk/mod/mod_log_config.html) with an `info` level by default. You can change the `stdout` output by changing `logging.format` with valid placeholders. | ||
Woodland defaults to [Common Log Format](https://en.wikipedia.org/wiki/Common_Log_Format) but supports [Common Log Format with Virtual Host](https://httpd.apache.org/docs/trunk/mod/mod_log_config.html), & [NCSA extended/combined log format](https://httpd.apache.org/docs/trunk/mod/mod_log_config.html) with an `info` level by default. You can change the `stdout` output by changing `logging.format` with valid placeholders. | ||
@@ -166,0 +166,0 @@ You can disable woodland's logging by configuration with `{logging: {enabled: false}}`. |
Sorry, the diff of this file is too big to display
136085