[pca] suggestion for extended syslogging

Open Source Rocks opn.src.rocks at gmail.com
Fri Aug 22 16:22:45 CEST 2008


Yes, that would be cool to have a list of patches that failed. Right now, I log all patch installs and look through the log file if any patches fail. But when patching 5 to 8 systems (once I patches 16 servers on 1 day) it will get tiresome to look through logs. It would be easier to have a list of failed patches and we can look through the log files for details. 

-GGR 
Rajiv G Gunja 
Blog: Open Source Software Rocks 

----- Original Message ----- 
From: "Felix Schattschneider" <Felix.Schattschneider at dw-world.de> 
To: "PCA (Patch Check Advanced) Discussion" <pca at lists.univie.ac.at> 
Sent: Friday, August 22, 2008 8:57:22 AM GMT -05:00 US/Canada Eastern 
Subject: [pca] suggestion for extended syslogging 



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/e17023df/attachment.html 


More information about the pca mailing list