From 892a95f8962e0cdab8883f7aab4e428f61dbdea9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 30 May 2024 17:09:06 +0200 Subject: msg --- class/Parser.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/class/Parser.php b/class/Parser.php index 57b0a77..3ef11a4 100644 --- a/class/Parser.php +++ b/class/Parser.php @@ -219,7 +219,7 @@ class Parser if ($txt) { $primary = simplexml_load_string($txt); if ($primary) { - self::log("Read " . $primary->attributes() . " packages"); + self::log("Read " . $primary->attributes() . " packages from primary"); $rpmrepo->update($row['id'], array('stamp' =>$TimRemote)); return $primary; @@ -278,6 +278,8 @@ class Parser } } self::log("Write $tot packages"); + } else { + self::log("Bad primary.xml"); } return $tot; } @@ -355,7 +357,7 @@ class Parser } } } - self::log("Read $tot packages"); + self::log("Read $tot packages for provides"); } return $tot; } -- cgit