How about the following so the warning includes some information as to the nature of the warning:
```java
LOG.warn("Error returning end point to cache. End point ID: {}, {}", endPoint.getId(), e);
```