Slightly modified logging for preemptive cache execution
This commit is contained in:
parent
066907391a
commit
b435ecf9e8
1 changed files with 2 additions and 2 deletions
|
|
@ -759,9 +759,9 @@ class Server(object):
|
|||
|
||||
try:
|
||||
if plugin:
|
||||
self._logger.info("Preemptively caching {} (plugin {}) for {!r}".format(route, plugin, kwargs))
|
||||
self._logger.info("Preemptively caching {} (ui {}) for {!r}".format(route, plugin, kwargs))
|
||||
else:
|
||||
self._logger.info("Preemptively caching {} for {!r}".format(route, kwargs))
|
||||
self._logger.info("Preemptively caching {} (ui _default) for {!r}".format(route, kwargs))
|
||||
|
||||
headers = kwargs.get("headers", dict())
|
||||
headers["X-Force-View"] = plugin if plugin else "_default"
|
||||
|
|
|
|||
Loading…
Reference in a new issue