To log the PageData
given to the template engine, add this to your logback.xml
:
<logger name="com.commercetools.sunrise.common.pages.SunrisePageDataJson" level="DEBUG" />
Check this example output.
To log the requests to the commercetools platform used to render a single shop page, add this to your logback.xml
:
<logger name="sphere.metrics.simple" level="trace" />
It will output something similar to:
TRACE sphere.metrics.simple - commercetools requests in GET /en/women-shoes-sneakers:
POST /product-projections/search 86ms 1387102bytes
POST /carts 54ms 507bytes