in Aliyun/Log/SimpleLogger.php [269:290]
private function logBatch($logItems, $topic){
$ip = $this->getLocalIp();
$request = new Aliyun_Log_Models_PutLogsRequest($this->project, $this->logstore,
$topic, $ip, $logItems);
$error_exception = NULL;
for($i = 0 ; $i < 3 ; $i++)
{
try{
$response = $this->client->putLogs($request);
return;
} catch (Aliyun_Log_Exception $ex) {
$error_exception = $ex;
} catch (Exception $ex) {
var_dump($ex);
$error_exception = $ex;
}
}
if ($error_exception != NULL)
{
var_dump($error_exception);
}
}