From 633835e8e28a70fddc252e0ee92dcf7131ba167b Mon Sep 17 00:00:00 2001 From: Ivan Martinez Date: Fri, 1 Jun 2018 07:38:54 -0300 Subject: added warning when using the null notificator --- src/org/traccar/notification/NotificationNull.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/org/traccar/notification/NotificationNull.java') 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"); } } -- cgit v1.2.3