continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r933496 - /continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
Date Tue, 13 Apr 2010 06:58:03 GMT
Author: ctan
Date: Tue Apr 13 06:58:03 2010
New Revision: 933496

URL: http://svn.apache.org/viewvc?rev=933496&view=rev
Log:
[CONTINUUM-2476] improved logs

Modified:
    continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java

Modified: continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java?rev=933496&r1=933495&r2=933496&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
(original)
+++ continuum/trunk/continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
Tue Apr 13 06:58:03 2010
@@ -231,8 +231,6 @@ public class DefaultDistributedBuildMana
 
         if ( overallDistributedBuildQueue == null )
         {
-            log.info( "no overall build queue by group" );
-
             if ( hasBuildagentGroup( projectsBuildDefinitionsMap ) )
             {
                 if ( !hasBuildagentInGroup( projectsBuildDefinitionsMap ) )
@@ -244,15 +242,15 @@ public class DefaultDistributedBuildMana
                 else
                 {
                     // get overall distributed build queue from build agent group
+                    log.info( "getting the least busy build agent from the build agent group"
);
                     overallDistributedBuildQueue = getOverallDistributedBuildQueueByAgentGroup(
projectsBuildDefinitionsMap );
-                    log.info( "got overall build queue by agent group" );
                 }
             }
             else
             {
                 // project does not have build agent group
+                log.info( "project does not have a build agent group, getting the least busy
build agent" );
                 overallDistributedBuildQueue = getOverallDistributedBuildQueue();
-                log.info( "get overall build queue in all agents" );
             }
         }
 



Mime
View raw message