diff --git a/tests/CI/runUnittests.sh b/tests/CI/runUnittests.sh
index 0ad5f495333729c13709844d1437d74efd71e5ac..c334ea64b2e59ff73b1759c8a2b796d687264603 100755
--- a/tests/CI/runUnittests.sh
+++ b/tests/CI/runUnittests.sh
@@ -3,7 +3,10 @@ CIDIR=$(dirname $(readlink -fn $0))
 source $CIDIR/ci.functions
 ASTETCDIR=$DESTDIR/etc/asterisk
 
-echo "full => notice,warning,error,debug,verbose" > 	"$ASTETCDIR/logger.conf"
+cat <<-EOF > "$ASTETCDIR/logger.conf"
+	[logfiles]
+	full => notice,warning,error,debug,verbose
+EOF
 
 echo "[default]" > "$ASTETCDIR/extensions.conf"