aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-05-12 19:03:40 +0200
committerLoïc Hoguin <[email protected]>2019-05-12 19:03:40 +0200
commit76eb7fa5f5c62e5c756838bf5c2c7a0df7c6d7bd (patch)
tree0ee061c3838e16c189081e986096491218d2d91e /doc
parent4abd27adb55f8c2d2f29629c5d4645b126481252 (diff)
downloadranch-76eb7fa5f5c62e5c756838bf5c2c7a0df7c6d7bd.tar.gz
ranch-76eb7fa5f5c62e5c756838bf5c2c7a0df7c6d7bd.tar.bz2
ranch-76eb7fa5f5c62e5c756838bf5c2c7a0df7c6d7bd.zip
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.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/manual/ranch.asciidoc8
1 files changed, 7 insertions, 1 deletions
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