diff --git a/tests/test_dl1_to_dl2.py b/tests/test_dl1_to_dl2.py
index 8671d13855ec5ecba569bd17b30294426bc8413e..f898abe7019626195561341828c4442e59bdf862 100644
--- a/tests/test_dl1_to_dl2.py
+++ b/tests/test_dl1_to_dl2.py
@@ -15,7 +15,6 @@ def test_dl1_to_dl2(monkeypatch: pytest.MonkeyPatch, tmp_path: Path, request: py
     gamma_classifier_model_path = current_dir / "resources/gamma_classifier.sav"
     image_displacement_vector_regressor_model_path = current_dir / "resources/image_displacement_vector_regressor.sav"
     dl2_file_path = tmp_path / "dl2_LST_Run06892_gammaness_cut_70_sample_500.h5"
-    log_file = tmp_path / "dl1_to_dl2.log"
 
     with monkeypatch.context() as mpc:
         mpc.setattr(