diff --git a/backend/scripts/log_analyser.py b/backend/scripts/log_analyser.py
index d5e309e2420f2d746532c1a9a505ace8bbe64d4c..525d911773215f97518510cf498873f0fc0d2cdb 100755
--- a/backend/scripts/log_analyser.py
+++ b/backend/scripts/log_analyser.py
@@ -90,7 +90,7 @@ def process_log_file(log_file,out_file):
 def main():
 
     log_dir = '/logs/'
-    regexp  = '^MSG_(.+)\.log'
+    regexp  = '^MSG_(.+)\.log$'
 
     for file in os.listdir(log_dir):
         if (re.match(regexp,file) and (not os.path.exists(log_dir + os.path.splitext(file)[0] + '.png'))):