aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-05-29 23:27:46 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2012-05-29 23:27:46 +0400
commit3b61199ca03a602514457cf7ed640ff6d9a39519 (patch)
tree14099d0648a01f5dc4299894df0fe232ff4870cb /src/org/traccar/model
parentbf8177e17e6ce607e60fe6e43ecf7401af51a03c (diff)
downloadtrackermap-server-3b61199ca03a602514457cf7ed640ff6d9a39519.tar.gz
trackermap-server-3b61199ca03a602514457cf7ed640ff6d9a39519.tar.bz2
trackermap-server-3b61199ca03a602514457cf7ed640ff6d9a39519.zip
fixed #3
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/DatabaseDataManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/model/DatabaseDataManager.java b/src/org/traccar/model/DatabaseDataManager.java
index ece8014ce..ed3335342 100644
--- a/src/org/traccar/model/DatabaseDataManager.java
+++ b/src/org/traccar/model/DatabaseDataManager.java
@@ -19,6 +19,7 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.*;
import org.traccar.helper.AdvancedConnection;
+import org.traccar.helper.Log;
import org.traccar.helper.NamedParameterStatement;
/**
@@ -95,7 +96,7 @@ public class DatabaseDataManager implements DataManager {
initializeQuery.prepare();
initializeQuery.executeUpdate();
} catch (Exception error) {
- System.out.println(error.getMessage());
+ Log.warning(error.getMessage());
}
}