Skip to content
Snippets Groups Projects
Unverified Commit 807ac912 authored by Daniel's avatar Daniel
Browse files

FIX: Replaced deprecated Logger.warn()

parent 19144e21
Branches
Tags
No related merge requests found
...@@ -178,7 +178,7 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection): ...@@ -178,7 +178,7 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection):
context.verify_mode = ssl.CERT_REQUIRED context.verify_mode = ssl.CERT_REQUIRED
if config.get("ssl_insecure"): if config.get("ssl_insecure"):
_LOGGER.warn("*** Warning! ***\n" _LOGGER.warning("*** Warning! ***\n"
"Insecure SSL mode, certificate will not be checked! " "Insecure SSL mode, certificate will not be checked! "
"Please consider removing the `ssl_insecure` configuration option.\n" "Please consider removing the `ssl_insecure` configuration option.\n"
"****************") "****************")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment