diff --git a/core/lib/Thelia/Log/Destination/TlogDestinationFile.php b/core/lib/Thelia/Log/Destination/TlogDestinationFile.php index 5d9089ebe..80aa3ec25 100755 --- a/core/lib/Thelia/Log/Destination/TlogDestinationFile.php +++ b/core/lib/Thelia/Log/Destination/TlogDestinationFile.php @@ -78,10 +78,10 @@ class TlogDestinationFile extends AbstractTlogDestination } while (file_exists($file_path_bk)); - rename($file_path, $file_path_bk); + @rename($file_path, $file_path_bk); - touch($file_path); - chmod($file_path, 0666); + @touch($file_path); + @chmod($file_path, 0666); } $this->fh = fopen($file_path, $mode);