Code Context } else {
$result = rename($filePath, $filePath . '.' . time());
}
$filename = 'queries.log'
$filePath = '/home/francoplaque/www/franco/logs/queries.log'
$rotate = (int) 10
rename - [internal], line ??
Cake\Log\Engine\FileLog::_rotateFile() - CORE/src/Log/Engine/FileLog.php, line 199
Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 127
Cake\Log\Log::write() - CORE/src/Log/Log.php, line 383
Cake\Database\Log\QueryLogger::_log() - CORE/src/Database/Log/QueryLogger.php, line 50
Cake\Database\Log\QueryLogger::log() - CORE/src/Database/Log/QueryLogger.php, line 38
Cake\Database\Log\LoggingStatement::_log() - CORE/src/Database/Log/LoggingStatement.php, line 83
Cake\Database\Log\LoggingStatement::execute() - CORE/src/Database/Log/LoggingStatement.php, line 64
Cake\Database\Connection::Cake\Database\{closure}() - CORE/src/Database/Connection.php, line 342
Cake\Core\Retry\CommandRetry::run() - CORE/src/Core/Retry/CommandRetry.php, line 67
Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 345
Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 218
Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 1155
Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 310
Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 1099
Cake\ORM\Association\Loader\SelectLoader::_buildResultMap() - CORE/src/ORM/Association/Loader/SelectLoader.php, line 468
Cake\ORM\Association\Loader\SelectLoader::buildEagerLoader() - CORE/src/ORM/Association/Loader/SelectLoader.php, line 124