diff --git a/ecrire/inc_version.php3 b/ecrire/inc_version.php3
index ede648de78e5bb37f6770c064cf9d2d7e1d01fcc..13c556b13ac9b2723412c99389a5be0c061c3290 100644
--- a/ecrire/inc_version.php3
+++ b/ecrire/inc_version.php3
@@ -667,7 +667,7 @@ function spip_log($message) {
 	.ereg_replace("\n*$", "\n", $message);
 
 	$logfile = ($flag_ecrire ? "" : "ecrire/") . "data/spip.log";
-	if (filesize($logfile) > 10*1024) {
+	if (@filesize($logfile) > 10*1024) {
 		$rotate = true;
 		$message .= "[-- rotate --]\n";
 	}