diff --git a/git_commit.py b/git_commit.py
index 3cd197f17fbb4903ca4fa263461ed7092600e906..b16fbfce60586d0271b5f49d576518861ac8e6de 100644
--- a/git_commit.py
+++ b/git_commit.py
@@ -23,7 +23,6 @@ if not args.dry_run:
     git = sh.git.bake('-C', repo_location)
     ldapsearch = sh.Command('ldapsearch')
 else:
-    logger_lvl = logging.INFO
     git = sh.echo.bake('git', '-C', repo_location)
     ldapsearch = sh.echo.bake('ldapsearch')