diff --git a/src/caosdb/connection/connection.py b/src/caosdb/connection/connection.py
index 1de260ca90d773ab436ecd5d270e5eff625af07d..3553c86ca844ca0d83852985caa67158fdbda36b 100644
--- a/src/caosdb/connection/connection.py
+++ b/src/caosdb/connection/connection.py
@@ -181,7 +181,7 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection):
             _LOGGER.warn("*** Warning! ***\n"
                          "Insecure SSL mode, certificate will not be checked! "
                          "Please consider removing the `ssl_insecure` configuration option.\n"
-                         "****************", file=sys.stderr)
+                         "****************")
             context.verify_mode = ssl.CERT_NONE
 
         if (not context.verify_mode == ssl.CERT_NONE and