aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper/Log.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/helper/Log.java')
-rw-r--r--src/org/traccar/helper/Log.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/helper/Log.java b/src/org/traccar/helper/Log.java
index d5d5a6cda..d328fbea7 100644
--- a/src/org/traccar/helper/Log.java
+++ b/src/org/traccar/helper/Log.java
@@ -172,7 +172,7 @@ public class Log {
s.append("*:");
} else {
file = element.getFileName();
- s.append(file).append(":");
+ s.append(file.substring(0, file.length() - 5)).append(":");
count -= 1;
}
s.append(element.getLineNumber());