[pca] suggestion for extended syslogging

Felix.Schattschneider at dw-world.de Felix.Schattschneider at dw-world.de
Fri Aug 22 14:57:22 CEST 2008



Hi,

well, "extended" is maybe a bit too exaggerated for my suggestion, but I
think it would be neat if pca would also report failed patch installs or
even failed downloads in addition to reporting succesful installs.

My suggestion (line 812):
   if ($rc) {
      out ('info', "\n$output");
      $rc /= 256; out ('info', "Failed (exit code $rc)");
>    log_msg("Failed to install patch $pp: $rc");
      rmtree ($patchxdir); $patchxdir="";
      $c{failinst}++; return;
    }

Just an idea

--
Mit freundlichen Grüßen / with kind regards
Felix Schattschneider
Deutsche Welle/IT-Betrieb
+49 228 429 3729 || felix.schattschneider at dw-world.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20080822/d4c5bf11/attachment.html 


More information about the pca mailing list