Request Logging

Structr can be instructed to log all incoming and outgoing requests, including the actual HTTP body. This can be very useful when trying to debug certain aspects of an application, for example to find out whether a mobile client sends / receives the correct data etc.

Request logging can be enabled using the following configuration setting in the structr.conf.

# Set to true to enable full request logging including request body
log.requests = true = structr-yyyy_mm_dd.request.log

Please note that Structr has to be stopped and restarted in order for the configuration settings to take effect.

About this article
Last change 2017-05-04
Topics ServerStructr 2.0