From 2a3dc70ce6b17560a9191ed1fa8e71287bb0c3f8 Mon Sep 17 00:00:00 2001 From: marcoppenheimer <51744472+marcoppenheimer@users.noreply.github.com> Date: Mon, 30 Oct 2023 07:30:01 +0000 Subject: [PATCH] chore: remove ssl debug logs from env (#152) --- src/config.py | 1 - tests/unit/test_config.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/config.py b/src/config.py index cd9dd21b..d54f880d 100644 --- a/src/config.py +++ b/src/config.py @@ -263,7 +263,6 @@ def kafka_opts(self) -> str: """ opts = [ f"-Djava.security.auth.login.config={self.zk_jaas_filepath}", - "-Djavax.net.debug=ssl:handshake:verbose:session:keymanager:trustmanager", ] return f"KAFKA_OPTS='{' '.join(opts)}'" diff --git a/tests/unit/test_config.py b/tests/unit/test_config.py index 6848ebba..22a2e4ae 100644 --- a/tests/unit/test_config.py +++ b/tests/unit/test_config.py @@ -231,7 +231,6 @@ def test_kafka_opts(harness): args = harness.charm.kafka_config.kafka_opts assert "-Djava.security.auth.login.config" in args assert "KAFKA_OPTS" in args - assert "-Djavax.net.debug=ssl" in args @pytest.mark.parametrize(