Author: fapeeler Date: Mon Dec 7 19:42:50 2009 New Revision: 888106 URL: http://svn.apache.org/viewvc?rev=888106&view=rev Log: VCL-275
cleaned up debug statements Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/Predictive/Level_1.pm Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/Predictive/Level_1.pm URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/Predictive/Level_1.pm?rev=888106&r1=888105&r2=888106&view=diff ============================================================================== --- incubator/vcl/trunk/managementnode/lib/VCL/Module/Predictive/Level_1.pm (original) +++ incubator/vcl/trunk/managementnode/lib/VCL/Module/Predictive/Level_1.pm Mon Dec 7 19:42:50 2009 @@ -335,7 +335,7 @@ push(@imgids, $row{subid}); } my $numselected_imagids = @imgids; - notify($ERRORS{'OK'}, 0, "$notify_prefix $numselected_imagids of available images that can go on $computer_short_name"); + notify($ERRORS{'OK'}, 0, "$notify_prefix $numselected_imagids available images can go on $computer_short_name"); # which of those are loaded $inlist = join(',', @imgids); @@ -357,7 +357,7 @@ push(@loaded, $row{currentimageid}); } my $already_loaded_once = @loaded; - notify($ERRORS{'OK'}, 0, "$notify_prefix $already_loaded_once of available images $numselected_imagids already loaded at least once"); + notify($ERRORS{'OK'}, 0, "$notify_prefix $already_loaded_once of $numselected_imagids available images already loaded at least once"); # which of those are not loaded (find difference of @imagids and @loaded) my (@intersection, @notloaded, $element); @@ -369,7 +369,7 @@ } my $not_loaded = @notloaded; - notify($ERRORS{'OK'}, 0, "$notify_prefix $not_loaded of available images $numselected_imagids that are not loaded at least once"); + notify($ERRORS{'OK'}, 0, "$notify_prefix $not_loaded images not loaded of $numselected_imagids total images that are available for selection"); # get the most popular in $timeframe $inlist = join(',', @notloaded);