diff --git a/src/de/uni_passau/fim/seibt/gitwrapper/process/ProcessExecutor.java b/src/de/uni_passau/fim/seibt/gitwrapper/process/ProcessExecutor.java
index 723ec96c1540455587255ff4fc320168e750dff0..d13cbaf7b85f98ad8157da53d4dee9665907a8f1 100644
--- a/src/de/uni_passau/fim/seibt/gitwrapper/process/ProcessExecutor.java
+++ b/src/de/uni_passau/fim/seibt/gitwrapper/process/ProcessExecutor.java
@@ -96,7 +96,7 @@ public class ProcessExecutor {
             res.exitCode = p.waitFor();
 
             LOG.fine(() -> String.format("Execution of '%s' returned exit code %d.", cmd, res.exitCode));
-            LOG.finest(() -> String.format("Execution of '%s' output:%n%s", cmd, res.output));
+            LOG.finest(() -> String.format("Execution of '%s' output:%n%s", cmd, res.output.trim()));
 
             return Optional.of(res);
         } catch (IOException | InterruptedException e) {