Skip to content

Query Logging

CakeSentry can include SQL query logging in captured Sentry events.

Enable Query Logging

php
return [
    'CakeSentry' => [
        'enableQueryLogging' => true,
    ],
];

Include Schema Reflection Queries

If you also want schema reflection queries included:

php
return [
    'CakeSentry' => [
        'includeSchemaReflection' => true,
    ],
];