diff --git a/src/protocol_subnet.c b/src/protocol_subnet.c
index 3e5dadd1..d40b3a33 100644
--- a/src/protocol_subnet.c
+++ b/src/protocol_subnet.c
@@ -127,8 +127,11 @@ bool add_subnet_h(connection_t *c)
 			free_subnet(allowed);
 		}
 
-		if(!cfg)
+		if(!cfg) {
+			logger(LOG_WARNING, _("Unauthorized %s from %s (%s) for %s"),
+				"ADD_SUBNET", c->name, c->hostname, subnetstr);
 			return false;
+		}
 
 		free_subnet(allowed);
 	}