aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/notification
diff options
context:
space:
mode:
authorIvan Martinez <ivanfmartinez@users.noreply.github.com>2018-06-01 07:38:54 -0300
committerIvan Martinez <ivanfmartinez@users.noreply.github.com>2018-06-01 07:38:54 -0300
commit633835e8e28a70fddc252e0ee92dcf7131ba167b (patch)
treef2113144988e75eb42a3be2b8c43a7e9ef3dbc24 /src/org/traccar/notification
parent50a80d68516890aa3ec5c2826f929474927def30 (diff)
downloadtrackermap-server-633835e8e28a70fddc252e0ee92dcf7131ba167b.tar.gz
trackermap-server-633835e8e28a70fddc252e0ee92dcf7131ba167b.tar.bz2
trackermap-server-633835e8e28a70fddc252e0ee92dcf7131ba167b.zip
added warning when using the null notificator
Diffstat (limited to 'src/org/traccar/notification')
-rw-r--r--src/org/traccar/notification/NotificationNull.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/notification/NotificationNull.java b/src/org/traccar/notification/NotificationNull.java
index afe160561..fd7950a80 100644
--- a/src/org/traccar/notification/NotificationNull.java
+++ b/src/org/traccar/notification/NotificationNull.java
@@ -16,6 +16,7 @@
*/
package org.traccar.notification;
+import org.traccar.helper.Log;
import org.traccar.model.Event;
import org.traccar.model.Position;
@@ -23,9 +24,11 @@ public final class NotificationNull extends Notificator {
@Override
public void sendAsync(long userId, Event event, Position position) {
+ Log.warning("You are using null notificatior, please check your configuration, notification not sent");
}
@Override
public void sendSync(long userId, Event event, Position position) {
+ Log.warning("You are using null notificatior, please check your configuration, notification not sent");
}
}