Why not
```
logger.warn("{} {}", String.valueOf(exception), requestDetails(request), exception)
```
instead?