Debugging
Enable debug logs when running tests or a local instance of ADS by adjusting the log level of the Axiomatics logger in the src/test/resources/logback-test.xml file.
...
<logger name="com.axiomatics" level="DEBUG" additivity="false">
<appender-ref ref="CONSOLE"/>
</logger>
...
PDP requests and responses
For tests, you can find the generated JSON requests and received JSON responses in the /build/alfa/tests/authorizationDomain/trace directory.
The request and response files can be used in tools like Postman, or provided to PEP developers as templates for the JSON requests they need to send to ADS.
Tracing
For tests executed against local ALFA files, an execution trace file html is available in the build/alfa/tests/authorizationDomain/trace directory. This file visualizes the evaluation and can be used for low level debugging of an policies and attribute connectors. See Visual tracing.