diff --git a/parsers/survex.py b/parsers/survex.py
index 6274b1f..1390991 100644
--- a/parsers/survex.py
+++ b/parsers/survex.py
@@ -538,8 +538,8 @@ class LoadingSurvex():
         # so we create a dummy one anyway. We should make logbook entry links optional in QMs in future and
         # remove this hack.
         qmyear = str(survexblock.date)[:4]
-        blockname = survexblock.name
-        logslug = f'DUM_{int(qmyear)}_{blockname}_{int(qm_no):03d}'
+        blockname = survexblock.name[:7]
+        logslug = f'D{int(qmyear)}_{blockname}_{int(qm_no):03d}'
         if survexblock.survexfile.cave:
             caveslug = survexblock.survexfile.cave.slug()
             place = survexblock.survexfile.cave