[erlang-questions] Logging level of "SSL: Socket error"

Roger Lipscombe roger@REDACTED
Wed Jul 11 19:31:03 CEST 2018


Hi Ingela,

On 11 July 2018 at 18:27, Roger Lipscombe <roger@REDACTED> wrote:
> https://github.com/erlang/otp/blob/OTP-21.0/lib/ssl/src/ssl_connection.erl#L1341-L1342
>
>     Report = io_lib:format("SSL: Socket error: ~p ~n", [Reason]),
>     error_logger:error_report(Report),
>

(pressed send too quickly...)

vs.

https://github.com/erlang/otp/blob/OTP-20.3.2/lib/ssl/src/ssl_connection.erl#L1117-L1118

    Report = io_lib:format("SSL: Socket error: ~p ~n", [Reason]),
    error_logger:info_report(Report),

It changed in https://github.com/erlang/otp/commit/6e28a7909c665cc316d657dda02a2b8655ecc5da,
but it's unclear whether it was deliberate or not.

Thanks,
Roger.



More information about the erlang-questions mailing list