From 3b61199ca03a602514457cf7ed640ff6d9a39519 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 29 May 2012 23:27:46 +0400 Subject: fixed #3 --- src/org/traccar/model/DatabaseDataManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/org/traccar/model/DatabaseDataManager.java') 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()); } } -- cgit v1.2.3