aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/helper
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-22 11:34:40 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-22 11:34:40 +1200
commit7387155d9d9fdaefb260e94b1094fa5ed285fdb3 (patch)
treed7239e77ea867a78e9b11c6b37687b5e451bc5c3 /src/org/traccar/helper
parent24c7705d7fa5aa7393dc7def4d9cd6c16ad8fc8d (diff)
downloadtraccar-server-7387155d9d9fdaefb260e94b1094fa5ed285fdb3.tar.gz
traccar-server-7387155d9d9fdaefb260e94b1094fa5ed285fdb3.tar.bz2
traccar-server-7387155d9d9fdaefb260e94b1094fa5ed285fdb3.zip
Show more detailed error messages
Diffstat (limited to 'src/org/traccar/helper')
-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());