diff --git a/server/lib/app.inc.php b/server/lib/app.inc.php
index 04f2ec5cc46143b56f86cb3bd6b4c48e638c3d27..ea6bf27977c76e913a30e964f44ab13d2f3a2da7 100644
--- a/server/lib/app.inc.php
+++ b/server/lib/app.inc.php
@@ -266,7 +266,7 @@ class app {
 		}
 
 		/** @var string Formatted message to be sent to the logging subsystems. */
-		$log_msg = @date('d.m.Y-H:i') . ' - ' . $priority_txt . ' ' . $file_line_caller . ' - '. $msg;
+		$log_msg = @date('d.m.Y-H:i') . ' - ' . $priority_txt . ' ' . $file_line_caller . '- '. $msg;
 
 		// Check if the user-set priority defines that this message should be output at all.
 		if($priority >= $conf['log_priority']) {