diff options
author | Loïc Hoguin <[email protected]> | 2019-10-07 11:43:44 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-07 11:43:44 +0200 |
commit | 53bc54a860c7bdc089d637fa96c91f8d6f3a92c3 (patch) | |
tree | 7623649f9bab442456d373bc5f42109ed1bd2e05 /doc/src/manual/cowboy_http.asciidoc | |
parent | 0342866c2e3490f2f9ef98ea9c8cefb405222818 (diff) | |
download | cowboy-53bc54a860c7bdc089d637fa96c91f8d6f3a92c3.tar.gz cowboy-53bc54a860c7bdc089d637fa96c91f8d6f3a92c3.tar.bz2 cowboy-53bc54a860c7bdc089d637fa96c91f8d6f3a92c3.zip |
Document the logger option
Diffstat (limited to 'doc/src/manual/cowboy_http.asciidoc')
-rw-r--r-- | doc/src/manual/cowboy_http.asciidoc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy_http.asciidoc b/doc/src/manual/cowboy_http.asciidoc index e0587dc..7ade577 100644 --- a/doc/src/manual/cowboy_http.asciidoc +++ b/doc/src/manual/cowboy_http.asciidoc @@ -23,6 +23,7 @@ opts() :: #{ idle_timeout => timeout(), inactivity_timeout => timeout(), linger_timeout => timeout(), + logger => module(), max_empty_lines => non_neg_integer(), max_header_name_length => non_neg_integer(), max_header_value_length => non_neg_integer(), @@ -78,6 +79,10 @@ Time in ms that Cowboy will wait when closing the connection. This is necessary to avoid the TCP reset problem as described in the https://tools.ietf.org/html/rfc7230#section-6.6[section 6.6 of RFC7230]. +logger (error_logger):: + +The module that will be used to write log messages. + max_empty_lines (5):: Maximum number of empty lines before a request. @@ -133,6 +138,7 @@ Ordered list of stream handlers that will handle all stream events. == Changelog +* *2.7*: The `logger` option was added. * *2.6*: The `chunked`, `http10_keepalive`, `proxy_header` and `sendfile` options were added. * *2.5*: The `linger_timeout` option was added. * *2.2*: The `max_skip_body_length` option was added. |