improve log
authorMichael Andres <ma@suse.de>
Wed, 6 Aug 2008 17:52:39 +0000 (17:52 +0000)
committerMichael Andres <ma@suse.de>
Wed, 6 Aug 2008 17:52:39 +0000 (17:52 +0000)
zypp/parser/RepoFileReader.cc

index d959f50..7a41431 100644 (file)
@@ -42,8 +42,6 @@ namespace zypp
             its != dict.sectionsEnd();
             ++its )
       {
-        MIL << (*its) << endl;
-
         RepoInfo info;
         info.setAlias(*its);
 
@@ -77,10 +75,10 @@ namespace zypp
          else if ( it->first == "service" )
            info.setService( it->second );
           else
-            ERR << "Unknown attribute " << it->second << " ignored" << endl;
+            ERR << "Unknown attribute in [" << *its << "]: " << it->second << " ignored" << endl;
         }
-        MIL << "Linking repo info with file " << file << endl;
         info.setFilepath(file);
+        MIL << info << endl;
         // add it to the list.
         callback(info);
         //if (!progress.tick())