diff --git a/pom.xml b/pom.xml
index b6deecc..da4f015 100644
--- a/pom.xml
+++ b/pom.xml
@@ -145,6 +145,10 @@
mailer
test
+
+ org.jenkins-ci.plugins
+ timestamper
+
diff --git a/src/main/java/hudson/plugins/logparser/LogParserParser.java b/src/main/java/hudson/plugins/logparser/LogParserParser.java
index 87240be..fb3aa12 100755
--- a/src/main/java/hudson/plugins/logparser/LogParserParser.java
+++ b/src/main/java/hudson/plugins/logparser/LogParserParser.java
@@ -5,6 +5,7 @@
import hudson.model.AbstractBuild;
import hudson.model.Run;
import hudson.remoting.VirtualChannel;
+import hudson.plugins.timestamper.api.TimestamperAPI;
import java.io.InputStreamReader;
import java.io.BufferedReader;
@@ -358,8 +359,8 @@ private void parseLogBody(final Run, ?> build, final BufferedWriter writer, fi
// Read log file from start - line by line and apply the statuses as
// found by the threads.
- try (InputStreamReader streamReader = new InputStreamReader(build.getLogInputStream(), charset);
- BufferedReader reader = new BufferedReader(streamReader)) {
+ String query = "time=yyyy-MM-dd HH:MM:ss.SSS&appendLog";
+ try (BufferedReader reader = TimestamperAPI.get().read(build, query)) {
String line;
String status;
int line_num = 0;