aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/Context.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-12-13 15:51:33 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-12-13 15:51:33 -0800
commitbc3b09e48efb9a58d9aef111d4316dcd9c0a7038 (patch)
tree18179346c5838bae1fdabb4007f309aa598c7600 /src/main/java/org/traccar/Context.java
parentd4f9561b978ea0410acc7a80a42137e13f06c846 (diff)
downloadtrackermap-server-bc3b09e48efb9a58d9aef111d4316dcd9c0a7038.tar.gz
trackermap-server-bc3b09e48efb9a58d9aef111d4316dcd9c0a7038.tar.bz2
trackermap-server-bc3b09e48efb9a58d9aef111d4316dcd9c0a7038.zip
Improve forwarding logging
Diffstat (limited to 'src/main/java/org/traccar/Context.java')
-rw-r--r--src/main/java/org/traccar/Context.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/Context.java b/src/main/java/org/traccar/Context.java
index af7e03837..2b031cfd3 100644
--- a/src/main/java/org/traccar/Context.java
+++ b/src/main/java/org/traccar/Context.java
@@ -40,7 +40,6 @@ import org.traccar.database.MaintenancesManager;
import org.traccar.database.MediaManager;
import org.traccar.database.NotificationManager;
import org.traccar.database.PermissionsManager;
-import org.traccar.schedule.ScheduleManager;
import org.traccar.database.UsersManager;
import org.traccar.geocoder.Geocoder;
import org.traccar.helper.Log;
@@ -57,9 +56,9 @@ import org.traccar.model.Maintenance;
import org.traccar.model.Notification;
import org.traccar.model.User;
import org.traccar.notification.EventForwarder;
-import org.traccar.notification.JsonTypeEventForwarder;
import org.traccar.notification.NotificatorManager;
import org.traccar.reports.model.TripsConfig;
+import org.traccar.schedule.ScheduleManager;
import org.traccar.sms.SmsManager;
import org.traccar.sms.smpp.SmppClient;
import org.traccar.web.WebServer;
@@ -342,7 +341,7 @@ public final class Context {
scheduleManager = new ScheduleManager();
if (config.getBoolean("event.forward.enable")) {
- eventForwarder = new JsonTypeEventForwarder();
+ eventForwarder = new EventForwarder();
}
attributesManager = new AttributesManager(dataManager);