Code Context } else {
$result = rename($filePath, $filePath . '.' . time());
}
$filename = 'error.log'
$filePath = '/var/www/vhosts/catconsultoria.com.br/httpdocs/logs/error.log'
$rotate = (int) 10
rename - [internal], line ??
Cake\Log\Engine\FileLog::_rotateFile() - CORE/src/Log/Engine/FileLog.php, line 198
Cake\Log\Engine\FileLog::log() - CORE/src/Log/Engine/FileLog.php, line 127
Cake\Log\Log::write() - CORE/src/Log/Log.php, line 384
Cake\Log\Log::warning() - CORE/src/Log/Log.php, line 469
DebugKit\ToolbarService::isSuspiciouslyProduction() - ROOT/vendor/cakephp/debug_kit/src/ToolbarService.php, line 143
DebugKit\ToolbarService::isEnabled() - ROOT/vendor/cakephp/debug_kit/src/ToolbarService.php, line 101
require - ROOT/vendor/cakephp/debug_kit/config/bootstrap.php, line 28
Cake\Core\BasePlugin::bootstrap() - CORE/src/Core/BasePlugin.php, line 239
Cake\Http\BaseApplication::pluginBootstrap() - CORE/src/Http/BaseApplication.php, line 161
Cake\Http\Server::bootstrap() - CORE/src/Http/Server.php, line 124
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 82
[main] - ROOT/webroot/index.php, line 40