diff options
author | Péter Dimitrov <[email protected]> | 2019-03-12 11:48:30 +0100 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2019-03-14 09:53:59 +0100 |
commit | a2d6b9a11bb51f85848f59982277b16197f7e6c9 (patch) | |
tree | 4d561ae226e421154bf6947c4186074d0de098e9 /lib/ssl/doc | |
parent | 41ec369168bcf87efda39c8d1c9b471e867e3e78 (diff) | |
download | otp-a2d6b9a11bb51f85848f59982277b16197f7e6c9.tar.gz otp-a2d6b9a11bb51f85848f59982277b16197f7e6c9.tar.bz2 otp-a2d6b9a11bb51f85848f59982277b16197f7e6c9.zip |
ssl: Improve ssl logging
Remove function ssl:set_log_level/1. Its functionality is already
implemented by logger:set_application_level/2.
Set log level for ssl modules to debug at application start.
Former implementation required an extra call to
logger:set_application_level/2 (beside setting ssl option
{log_level, debug}) to enable debug logging.
Change-Id: Id21be7fd58915e11124cc136bb92d8a7526b8a74
Diffstat (limited to 'lib/ssl/doc')
-rw-r--r-- | lib/ssl/doc/src/ssl.xml | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml index b145aac6ab..60fa70c90c 100644 --- a/lib/ssl/doc/src/ssl.xml +++ b/lib/ssl/doc/src/ssl.xml @@ -1658,17 +1658,6 @@ fun(srp, Username :: string(), UserState :: term()) -> </func> <func> - <name since="OTP 22.0">set_log_level(Level) -> ok | {error, Reason}</name> - <fsummary>Sets log level for the SSL application.</fsummary> - <type> - <v>Level = atom()</v> - </type> - <desc> - <p>Sets log level for the SSL application.</p> - </desc> - </func> - - <func> <name since="OTP R14B">shutdown(SslSocket, How) -> ok | {error, Reason}</name> <fsummary>Immediately closes a socket.</fsummary> <type> |