diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-13 15:51:33 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-13 15:51:33 -0800 |
commit | bc3b09e48efb9a58d9aef111d4316dcd9c0a7038 (patch) | |
tree | 18179346c5838bae1fdabb4007f309aa598c7600 /src/main/java/org/traccar/Context.java | |
parent | d4f9561b978ea0410acc7a80a42137e13f06c846 (diff) | |
download | trackermap-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.java | 5 |
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); |