[pca] Logging

Benjamin_D_Szoko at nbc.gov Benjamin_D_Szoko at nbc.gov
Wed Feb 25 17:47:36 CET 2009


Hi Paul,
  I am uncertain how an added Option flag is forcing anything on anyone. 
People do not have to use it, being optional.

I did not see any logging for positive states in syslog.  Only failures. 
So that might be a bug.

People will use wrappers if you want them to or not.  It may be me, but it 
seems so many people are using wrappers to do simple logging.
Why not incorporate it?

Pca is not a small tool.  Nor would it be overkill to add a logging 
mechanism.  In my opinion.

Thanks for your script and thank you for listening to my ideas.

Ben

Example of /var/sadm/spool/sunucLog/job_history.log

Oct 04 17:15:22 benblade [notice] STATUS PROGRESS 25 "Analyzing system"
Oct 04 17:15:22 benblade [notice] Oct 05 18:02:20 benblade Installation 
Log
Oct 05 18:02:41 benblade 118666-14 [ALERT] Transition old-style patching.
Oct 05 18:21:55 benblade 118666-14 [notice] Patch 118666-14 has been 
successfully installed.
Oct 05 18:21:56 benblade 118666-14 [ALERT] 
/var/sadm/pkg/SUNWj5dev/save/118666-14/undo: -- file unchanged
Oct 05 18:21:56 benblade 118666-14 [ALERT] compress(1) returned error code 
2
Oct 05 18:21:56 benblade 118666-14 [ALERT] The SUNWj5dev backout package 
will not be compressed.
Oct 05 18:21:56 benblade 118666-14 [ALERT] Continuing to process backout 
package.
Oct 05 18:23:27 benblade Installation Log
Oct 05 18:23:34 benblade Installation Log
Oct 05 18:23:38 benblade 118667-14 [ALERT] Transition old-style patching.
Oct 05 18:25:12 benblade 118667-14 [notice] Patch 118667-14 has been 
successfully installed.
Oct 12 16:11:05 benblade Installation Log
Oct 12 16:13:25 benblade [ALERT] WARNING: The installer cannot find the 
patch.
Oct 12 16:13:25 benblade [ALERT] WARNING: The installer cannot find the 
patch.
Oct 12 16:13:26 benblade [ALERT] WARNING: The installer cannot find the 
patch.
Oct 12 16:13:36 benblade [ALERT] Failed to install patch 123895-03.
Oct 12 16:13:36 benblade [ALERT] 
Oct 12 16:13:36 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 12 16:13:36 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 12 16:13:36 benblade [ALERT] Transition old-style patching.
Oct 12 16:13:37 benblade [ALERT] Failed to install patch 123895-03.
Oct 12 16:13:37 benblade [ALERT] ALERT: Failed to install patch 123895-03.
Oct 12 16:13:47 benblade [ALERT] Failed to install patch 123894-03.
Oct 12 16:13:47 benblade [ALERT] 
Oct 12 16:13:47 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 12 16:13:47 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 12 16:13:47 benblade [ALERT] Transition old-style patching.
Oct 12 16:13:48 benblade [ALERT] Failed to install patch 123894-03.
Oct 12 16:13:48 benblade [ALERT] ALERT: Failed to install patch 123894-03.
Oct 12 16:13:06 benblade [notice] 123895-03 has been validated.
Oct 12 16:13:24 benblade [notice] 120460-12 has been validated.
Oct 12 16:13:25 benblade [notice] Installing patches from 
/var/sadm/spool...
Oct 12 16:15:11 benblade [notice] 120460-12 has been applied.
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 11:55:51:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 11:55:51:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 11:57:43:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 11:57:43:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 12:02:16:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 12:02:16:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:21:29:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:21:29:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:04:01:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:04:01:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:22:17:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:22:17:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:49:05:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:49:05:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.12 at 16:13:24:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.12 at 16:13:24:EDT.txt
Oct 30 15:36:23 benblade Installation Log
Oct 30 15:38:25 benblade [ALERT] Failed to install patch 125202-01.
Oct 30 15:38:25 benblade [ALERT] 
Oct 30 15:38:25 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 30 15:38:25 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 30 15:38:25 benblade [ALERT] Transition old-style patching.
Oct 30 15:38:26 benblade [ALERT] Failed to install patch 125202-01.
Oct 30 15:38:26 benblade [ALERT] ALERT: Failed to install patch 125202-01.
Oct 30 15:38:36 benblade [ALERT] Failed to install patch 123895-03.
Oct 30 15:38:36 benblade [ALERT] 
Oct 30 15:38:36 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 30 15:38:36 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 30 15:38:36 benblade [ALERT] Transition old-style patching.
Oct 30 15:38:36 benblade [ALERT] Failed to install patch 123895-03.
Oct 30 15:38:36 benblade [ALERT] ALERT: Failed to install patch 123895-03.
Oct 30 15:38:47 benblade [ALERT] Failed to install patch 123894-03.
Oct 30 15:38:47 benblade [ALERT] 
Oct 30 15:38:47 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 30 15:38:47 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 30 15:38:47 benblade [ALERT] Transition old-style patching.
Oct 30 15:38:47 benblade [ALERT] Failed to install patch 123894-03.
Oct 30 15:38:48 benblade [ALERT] ALERT: Failed to install patch 123894-03.
Oct 30 15:38:14 benblade [notice] Installing patches from 
/var/sadm/spool...
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.12 at 16:16:22:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.12 at 16:16:22:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.30 at 13:05:59:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.30 at 13:05:59:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.30 at 15:38:14:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.30 at 15:38:14:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.26 at 15:42:58:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.26 at 15:42:58:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.30 at 13:02:48:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.30 at 13:02:48:EDT.txt
Nov 15 15:07:45 benblade Installation Log
Oct 04 17:15:22 benblade [notice] STATUS PROGRESS 25 "Analyzing system"
Oct 04 17:15:22 benblade [notice] Oct 05 18:02:20 benblade Installation 
Log
Oct 05 18:02:41 benblade 118666-14 [ALERT] Transition old-style patching.
Oct 05 18:21:55 benblade 118666-14 [notice] Patch 118666-14 has been 
successfully installed.
Oct 05 18:21:56 benblade 118666-14 [ALERT] 
/var/sadm/pkg/SUNWj5dev/save/118666-14/undo: -- file unchanged
Oct 05 18:21:56 benblade 118666-14 [ALERT] compress(1) returned error code 
2
Oct 05 18:21:56 benblade 118666-14 [ALERT] The SUNWj5dev backout package 
will not be compressed.
Oct 05 18:21:56 benblade 118666-14 [ALERT] Continuing to process backout 
package.
Oct 05 18:23:27 benblade Installation Log
Oct 05 18:23:34 benblade Installation Log
Oct 05 18:23:38 benblade 118667-14 [ALERT] Transition old-style patching.
Oct 05 18:25:12 benblade 118667-14 [notice] Patch 118667-14 has been 
successfully installed.
Oct 12 16:11:05 benblade Installation Log
Oct 12 16:13:25 benblade [ALERT] WARNING: The installer cannot find the 
patch.
Oct 12 16:13:25 benblade [ALERT] WARNING: The installer cannot find the 
patch.
Oct 12 16:13:26 benblade [ALERT] WARNING: The installer cannot find the 
patch.
Oct 12 16:13:36 benblade [ALERT] Failed to install patch 123895-03.
Oct 12 16:13:36 benblade [ALERT] 
Oct 12 16:13:36 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 12 16:13:36 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 12 16:13:36 benblade [ALERT] Transition old-style patching.
Oct 12 16:13:37 benblade [ALERT] Failed to install patch 123895-03.
Oct 12 16:13:37 benblade [ALERT] ALERT: Failed to install patch 123895-03.
Oct 12 16:13:47 benblade [ALERT] Failed to install patch 123894-03.
Oct 12 16:13:47 benblade [ALERT] 
Oct 12 16:13:47 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 12 16:13:47 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 12 16:13:47 benblade [ALERT] Transition old-style patching.
Oct 12 16:13:48 benblade [ALERT] Failed to install patch 123894-03.
Oct 12 16:13:48 benblade [ALERT] ALERT: Failed to install patch 123894-03.
Oct 12 16:13:06 benblade [notice] 123895-03 has been validated.
Oct 12 16:13:24 benblade [notice] 120460-12 has been validated.
Oct 12 16:13:25 benblade [notice] Installing patches from 
/var/sadm/spool...
Oct 12 16:15:11 benblade [notice] 120460-12 has been applied.
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 11:55:51:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 11:55:51:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 11:57:43:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 11:57:43:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 12:02:16:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 12:02:16:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:21:29:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:21:29:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:04:01:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:04:01:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:22:17:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:22:17:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:49:05:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:49:05:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.12 at 16:13:24:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.12 at 16:13:24:EDT.txt
Oct 30 15:36:23 benblade Installation Log
Oct 30 15:38:25 benblade [ALERT] Failed to install patch 125202-01.
Oct 30 15:38:25 benblade [ALERT] 
Oct 30 15:38:25 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 30 15:38:25 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 30 15:38:25 benblade [ALERT] Transition old-style patching.
Oct 30 15:38:26 benblade [ALERT] Failed to install patch 125202-01.
Oct 30 15:38:26 benblade [ALERT] ALERT: Failed to install patch 125202-01.
Oct 30 15:38:36 benblade [ALERT] Failed to install patch 123895-03.
Oct 30 15:38:36 benblade [ALERT] 
Oct 30 15:38:36 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 30 15:38:36 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 30 15:38:36 benblade [ALERT] Transition old-style patching.
Oct 30 15:38:36 benblade [ALERT] Failed to install patch 123895-03.
Oct 30 15:38:36 benblade [ALERT] ALERT: Failed to install patch 123895-03.
Oct 30 15:38:47 benblade [ALERT] Failed to install patch 123894-03.
Oct 30 15:38:47 benblade [ALERT] 
Oct 30 15:38:47 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 30 15:38:47 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 30 15:38:47 benblade [ALERT] Transition old-style patching.
Oct 30 15:38:47 benblade [ALERT] Failed to install patch 123894-03.
Oct 30 15:38:48 benblade [ALERT] ALERT: Failed to install patch 123894-03.
Oct 30 15:38:14 benblade [notice] Installing patches from 
/var/sadm/spool...
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.12 at 16:16:22:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.12 at 16:16:22:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.30 at 13:05:59:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.30 at 13:05:59:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.30 at 15:38:14:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.30 at 15:38:14:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.26 at 15:42:58:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.26 at 15:42:58:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.30 at 13:02:48:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.30 at 13:02:48:EDT.txt
Nov 15 15:07:45 benblade Installation Log
Oct 04 17:15:22 benblade [notice] STATUS PROGRESS 25 "Analyzing system"
Oct 04 17:15:22 benblade [notice] Oct 05 18:02:20 benblade Installation 
Log
Oct 05 18:02:41 benblade 118666-14 [ALERT] Transition old-style patching.
Oct 05 18:21:55 benblade 118666-14 [notice] Patch 118666-14 has been 
successfully installed.
Oct 05 18:21:56 benblade 118666-14 [ALERT] 
/var/sadm/pkg/SUNWj5dev/save/118666-14/undo: -- file unchanged
Oct 05 18:21:56 benblade 118666-14 [ALERT] compress(1) returned error code 
2
Oct 05 18:21:56 benblade 118666-14 [ALERT] The SUNWj5dev backout package 
will not be compressed.
Oct 05 18:21:56 benblade 118666-14 [ALERT] Continuing to process backout 
package.
Oct 05 18:23:27 benblade Installation Log
Oct 05 18:23:34 benblade Installation Log
Oct 05 18:23:38 benblade 118667-14 [ALERT] Transition old-style patching.
Oct 05 18:25:12 benblade 118667-14 [notice] Patch 118667-14 has been 
successfully installed.
Oct 12 16:11:05 benblade Installation Log
Oct 12 16:13:25 benblade [ALERT] WARNING: The installer cannot find the 
patch.
Oct 12 16:13:25 benblade [ALERT] WARNING: The installer cannot find the 
patch.
Oct 12 16:13:26 benblade [ALERT] WARNING: The installer cannot find the 
patch.
Oct 12 16:13:36 benblade [ALERT] Failed to install patch 123895-03.
Oct 12 16:13:36 benblade [ALERT] 
Oct 12 16:13:36 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 12 16:13:36 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 12 16:13:36 benblade [ALERT] Transition old-style patching.
Oct 12 16:13:37 benblade [ALERT] Failed to install patch 123895-03.
Oct 12 16:13:37 benblade [ALERT] ALERT: Failed to install patch 123895-03.
Oct 12 16:13:47 benblade [ALERT] Failed to install patch 123894-03.
Oct 12 16:13:47 benblade [ALERT] 
Oct 12 16:13:47 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 12 16:13:47 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 12 16:13:47 benblade [ALERT] Transition old-style patching.
Oct 12 16:13:48 benblade [ALERT] Failed to install patch 123894-03.
Oct 12 16:13:48 benblade [ALERT] ALERT: Failed to install patch 123894-03.
Oct 12 16:13:06 benblade [notice] 123895-03 has been validated.
Oct 12 16:13:24 benblade [notice] 120460-12 has been validated.
Oct 12 16:13:25 benblade [notice] Installing patches from 
/var/sadm/spool...
Oct 12 16:15:11 benblade [notice] 120460-12 has been applied.
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 11:55:51:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 11:55:51:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 11:57:43:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 11:57:43:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 12:02:16:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 12:02:16:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:21:29:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:21:29:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:04:01:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:04:01:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:22:17:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:22:17:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.10 at 13:49:05:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.10 at 13:49:05:EDT.txt
Oct 12 16:15:11 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.12 at 16:13:24:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.12 at 16:13:24:EDT.txt
Oct 30 15:36:23 benblade Installation Log
Oct 30 15:38:25 benblade [ALERT] Failed to install patch 125202-01.
Oct 30 15:38:25 benblade [ALERT] 
Oct 30 15:38:25 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 30 15:38:25 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 30 15:38:25 benblade [ALERT] Transition old-style patching.
Oct 30 15:38:26 benblade [ALERT] Failed to install patch 125202-01.
Oct 30 15:38:26 benblade [ALERT] ALERT: Failed to install patch 125202-01.
Oct 30 15:38:36 benblade [ALERT] Failed to install patch 123895-03.
Oct 30 15:38:36 benblade [ALERT] 
Oct 30 15:38:36 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 30 15:38:36 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 30 15:38:36 benblade [ALERT] Transition old-style patching.
Oct 30 15:38:36 benblade [ALERT] Failed to install patch 123895-03.
Oct 30 15:38:36 benblade [ALERT] ALERT: Failed to install patch 123895-03.
Oct 30 15:38:47 benblade [ALERT] Failed to install patch 123894-03.
Oct 30 15:38:47 benblade [ALERT] 
Oct 30 15:38:47 benblade [ALERT] Utility used to install the update failed 
 with exit code 8.
Oct 30 15:38:47 benblade [ALERT] Checking installed patches...Patchadd is 
terminating.
Oct 30 15:38:47 benblade [ALERT] Transition old-style patching.
Oct 30 15:38:47 benblade [ALERT] Failed to install patch 123894-03.
Oct 30 15:38:48 benblade [ALERT] ALERT: Failed to install patch 123894-03.
Oct 30 15:38:14 benblade [notice] Installing patches from 
/var/sadm/spool...
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.12 at 16:16:22:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.12 at 16:16:22:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.30 at 13:05:59:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.30 at 13:05:59:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.30 at 15:38:14:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.30 at 15:38:14:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.26 at 15:42:58:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.26 at 15:42:58:EDT.txt
Oct 30 15:38:48 benblade [notice] 
/var/sadm/spool/patchpro_dnld_2007.10.30 at 13:02:48:EDT.txt has been moved 
to 
/var/sadm/spool/patchproSequester/patchpro_dnld_2007.10.30 at 13:02:48:EDT.txt
Nov 15 15:07:45 benblade Installation Log


Sep 17 17:56:01 benblade [notice] STATUS INSTALL BEGIN 126421-01
Sep 17 17:56:01 benblade [notice] STATUS INSTALL END 126421-01 INSTALL.255 
"Utility used to install the update failed with exit code {0}. {1}" "997" 
"Patch is not available in the patch directory."
Sep 17 17:56:01 benblade [notice] STATUS INSTALL BEGIN 125378-02
Sep 17 17:56:01 benblade [notice] STATUS INSTALL END 125378-02 INSTALL.255 
"Utility used to install the update failed with exit code {0}. {1}" "997" 
"Patch is not available in the patch directory."


Sep 17 17:55:47 benblade [notice] STATUS PROGRESS 30 "Downloading updates 
126542-01"
Sep 17 17:55:47 benblade [notice] STATUS DOWNLOAD_PATCH BEGIN 126542-01
Sep 17 17:55:50 benblade [notice] STATUS DOWNLOAD_PATCH END 126542-01 
DOWNLOAD_PATCH.6 "Request to download update {0} failed. The HTTP response 
code is {1}." "500"
Sep 17 17:55:50 benblade [notice] STATUS PROGRESS 30 "Downloading updates 
125174-02"
Sep 17 17:55:50 benblade [notice] STATUS DOWNLOAD_PATCH BEGIN 125174-02
Sep 17 17:55:52 benblade [notice] STATUS DOWNLOAD_PATCH END 125174-02 
DOWNLOAD_PATCH.6 "Request to download update {0} failed. The HTTP response 
code is {1}." "500"
Sep 17 17:55:52 benblade [notice] STATUS PROGRESS 30 "Downloading updates 
126421-01"
Sep 17 17:55:52 benblade [notice] STATUS DOWNLOAD_PATCH BEGIN 126421-01
Sep 17 17:55:54 benblade [notice] STATUS DOWNLOAD_PATCH END 126421-01 
DOWNLOAD_PATCH.6 "Request to download update {0} failed. The HTTP response 
code is {1}." "500"






From:
Martin Paul <martin at par.univie.ac.at>
To:
"PCA (Patch Check Advanced) Discussion" <pca at lists.univie.ac.at>
Date:
02/25/2009 04:21 AM
Subject:
Re: [pca] Logging
Sent by:
pca-bounces at lists.univie.ac.at



Benjamin_D_Szoko at nbc.gov wrote:
>   Either add a way to increase the logging sent to syslog with some sort 

> of flag and/or add a feature to create an informational log.

I guess it's hard to find a solution that fits everyone. That's why I 
added a minimal logging ("date/time: patch X installed") to syslog, and 
leave the rest to wrappers, which can use pca's full output to choose 
what they want to log.

It's not that I didn't think about a fully configurable logging system 
for pca (different log levels and destinations, like syslog), but it 
looks like overkill for such a small tool.

BTW, you mentioned /var/sadm/spool/sunucLog - what does it look like?

Martin.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.univie.ac.at/mailman/private/pca/attachments/20090225/b93f2497/attachment-0001.html 


More information about the pca mailing list