diff options
author | Péter Dimitrov <[email protected]> | 2018-05-16 12:01:22 +0200 |
---|---|---|
committer | Péter Dimitrov <[email protected]> | 2018-06-20 15:18:37 +0200 |
commit | aa09b1326a0e88937a3e5c0162bed4cd7d73b4bd (patch) | |
tree | 98ea3e9e28de7a4842f0a6378ce1830ec67e7175 /lib/ssl/src/ssl_crl_hash_dir.erl | |
parent | deaadf9e82cee43a3bbc5185e811153f455b9669 (diff) | |
download | otp-aa09b1326a0e88937a3e5c0162bed4cd7d73b4bd.tar.gz otp-aa09b1326a0e88937a3e5c0162bed4cd7d73b4bd.tar.bz2 otp-aa09b1326a0e88937a3e5c0162bed4cd7d73b4bd.zip |
ssl: Use logger API instead of legacy error_logger
Change-Id: I04cb8e4c09b05fc9d7ead0dfae0d83286decdb74
Diffstat (limited to 'lib/ssl/src/ssl_crl_hash_dir.erl')
-rw-r--r-- | lib/ssl/src/ssl_crl_hash_dir.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_crl_hash_dir.erl b/lib/ssl/src/ssl_crl_hash_dir.erl index bb62737232..9478ff9b78 100644 --- a/lib/ssl/src/ssl_crl_hash_dir.erl +++ b/lib/ssl/src/ssl_crl_hash_dir.erl @@ -20,6 +20,7 @@ -module(ssl_crl_hash_dir). -include_lib("public_key/include/public_key.hrl"). +-include_lib("kernel/include/logger.hrl"). -behaviour(ssl_crl_cache_api). @@ -55,7 +56,7 @@ select(Issuer, {_DbHandle, [{dir, Dir}]}) -> %% is happy with that, but if it's true, this is an error. []; {error, Error} -> - error_logger:error_report( + ?LOG_ERROR( [{cannot_find_crl, Error}, {dir, Dir}, {module, ?MODULE}, @@ -86,7 +87,7 @@ find_crls(Issuer, Hash, Dir, N, Acc) -> error:Error -> %% Something is wrong with the file. Report %% it, and try the next one. - error_logger:error_report( + ?LOG_ERROR( [{crl_parse_error, Error}, {filename, Filename}, {module, ?MODULE}, |