diff options
author | Renaud Allard <renaud@allard.it> | 2016-10-20 07:19:10 +0200 |
---|---|---|
committer | Renaud Allard <renaud@allard.it> | 2016-10-20 07:19:10 +0200 |
commit | 0d347cd7aac2ebfad01c1635f3893964be2e67ae (patch) | |
tree | 176f7fa7faa3600b885b4d19e26e41aee2406a9c /src/org | |
parent | 38cbe426a9d8850821111efea49250d7fcc02101 (diff) | |
download | trackermap-server-0d347cd7aac2ebfad01c1635f3893964be2e67ae.tar.gz trackermap-server-0d347cd7aac2ebfad01c1635f3893964be2e67ae.tar.bz2 trackermap-server-0d347cd7aac2ebfad01c1635f3893964be2e67ae.zip |
Reuse EvenHandlerTest device
rename log message variable
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/FilterHandler.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/org/traccar/FilterHandler.java b/src/org/traccar/FilterHandler.java index 9a6c7936a..f9904ccaf 100644 --- a/src/org/traccar/FilterHandler.java +++ b/src/org/traccar/FilterHandler.java @@ -176,15 +176,15 @@ public class FilterHandler extends BaseDataHandler { if (filterType.length() > 0 && !filterLimit(position)) { - StringBuilder logmsg = new StringBuilder(); - logmsg.append("Position filtered by "); - logmsg.append(filterType.toString()); - logmsg.append("filters from device: "); - logmsg.append(Context.getIdentityManager().getDeviceById(position.getDeviceId()).getUniqueId()); - logmsg.append(" with id: "); - logmsg.append(position.getDeviceId()); - - Log.info(logmsg.toString()); + StringBuilder message = new StringBuilder(); + message.append("Position filtered by "); + message.append(filterType.toString()); + message.append("filters from device: "); + message.append(Context.getIdentityManager().getDeviceById(position.getDeviceId()).getUniqueId()); + message.append(" with id: "); + message.append(position.getDeviceId()); + + Log.info(message.toString()); return true; } |