diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-15 18:16:21 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-09-15 18:16:21 +1200 |
commit | fc1ef8342339e72e5d4a88ac953dfaafc3cc3b63 (patch) | |
tree | 76aa5439b98e5e182164e0baf3b64add81af187e /src/org/traccar/database/DataManager.java | |
parent | dc3559a9cc49206e87f26349b8f8a41398f299b5 (diff) | |
download | trackermap-server-fc1ef8342339e72e5d4a88ac953dfaafc3cc3b63.tar.gz trackermap-server-fc1ef8342339e72e5d4a88ac953dfaafc3cc3b63.tar.bz2 trackermap-server-fc1ef8342339e72e5d4a88ac953dfaafc3cc3b63.zip |
Fix logging level issues
Diffstat (limited to 'src/org/traccar/database/DataManager.java')
-rw-r--r-- | src/org/traccar/database/DataManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java index 71db329bc..f28041fc3 100644 --- a/src/org/traccar/database/DataManager.java +++ b/src/org/traccar/database/DataManager.java @@ -361,7 +361,7 @@ public class DataManager { long historyDays = config.getInteger("database.historyDays"); if (historyDays != 0) { Date timeLimit = new Date(System.currentTimeMillis() - historyDays * 24 * 3600 * 1000); - LOGGER.debug( + LOGGER.info( "Clearing history earlier than " + new SimpleDateFormat(Context.DATE_FORMAT).format(timeLimit)); QueryBuilder.create(dataSource, getQuery("database.deletePositions")) .setDate("serverTime", timeLimit) |