Hi,
I have an error when saving a user using
$this->Users->save($user)
My problem is not the cause of the error itself (I already found it), but how to get this cause. I cannot have the reason of the error. Both log and debug are enabled. Log levels are configured like the following, but I don’t see the cause of the problem in log files nore in page debug.
In app.php :
'debug'=>true
...
/**
* Configures logging options
*/
'Log' => [
'debug' => [
'className' => 'Cake\Log\Engine\FileLog',
'path' => LOGS,
'file' => 'debug',
'levels' => ['notice', 'info', 'debug','trace','error','warning','critical', 'alert', 'emergency'],
'url' => env('LOG_DEBUG_URL', null),
],
'error' => [
'className' => 'Cake\Log\Engine\FileLog',
'path' => LOGS,
'file' => 'error',
'levels' => ['error', 'critical', 'alert', 'emergency'],
'url' => env('LOG_ERROR_URL', null),
]
],