From 76eb7fa5f5c62e5c756838bf5c2c7a0df7c6d7bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 12 May 2019 19:03:40 +0200 Subject: Properly document logger option; change default to logger We now require OTP-21+ therefore there's no need to keep the default of error_logger. --- doc/src/manual/ranch.asciidoc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/src/manual/ranch.asciidoc b/doc/src/manual/ranch.asciidoc index 3f14cf0..aa4a63f 100644 --- a/doc/src/manual/ranch.asciidoc +++ b/doc/src/manual/ranch.asciidoc @@ -96,6 +96,10 @@ handshake_timeout (5000):: Maximum allowed time for the `ranch:handshake/1,2` call to finish. +logger (logger):: + +The module that will be used to write log messages. + max_connections (1024):: Maximum number of active connections per connection supervisor. @@ -135,8 +139,10 @@ Unique name used to refer to a listener. * *2.0*: The option `max_connections` is now per connection supervisor. * *2.0*: The `num_conns_sup` option was added. * *2.0*: The `socket` option was removed. +* *2.0*: The `logger` option is no longer experimental. It now defaults + to `logger` instead of `error_logger`. * *2.0*: The `opt()` type was removed. -* *1.6*: The `logger` option was added. +* *1.6*: The experimental `logger` option was added. * *1.6*: The `opt()` type was deprecated in favor of the new `opts()` type. == See also -- cgit v1.2.3