[jboss-cvs] JBossAS SVN: r74399 - trunk/system/src/main/org/jboss/deployers/plugins/managed.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jun 11 13:17:45 EDT 2008


Author: scott.stark at jboss.org
Date: 2008-06-11 13:17:45 -0400 (Wed, 11 Jun 2008)
New Revision: 74399

Modified:
   trunk/system/src/main/org/jboss/deployers/plugins/managed/TypedManagedDeploymentCreator.java
Log:
JBAS-5557, reduce logging levels

Modified: trunk/system/src/main/org/jboss/deployers/plugins/managed/TypedManagedDeploymentCreator.java
===================================================================
--- trunk/system/src/main/org/jboss/deployers/plugins/managed/TypedManagedDeploymentCreator.java	2008-06-11 16:40:18 UTC (rev 74398)
+++ trunk/system/src/main/org/jboss/deployers/plugins/managed/TypedManagedDeploymentCreator.java	2008-06-11 17:17:45 UTC (rev 74399)
@@ -72,8 +72,6 @@
    {
       DeploymentPhase phase = unit.getAttachment(DeploymentPhase.class);
       ManagementDeployment mdAnnotation = null;
-      if(unit.getName().endsWith("-service.xml"))
-         log.info("-service.xml: "+unitMOs);
 
       for(ManagedObject mo : unitMOs.values())
       {
@@ -85,7 +83,6 @@
       String[] types = {};
       if(mdAnnotation != null)
       {
-         log.info("Saw ManagementDeployment: "+mdAnnotation);
          if(phase == null)
             phase = mdAnnotation.phase();
          if(mdAnnotation.simpleName().length() > 0)
@@ -156,14 +153,14 @@
     */
    public void addAttachmentType(Class attachmentType, String deploymentType)
    {
-      log.info("addAttachmentType, "+attachmentType+":"+deploymentType);
+      log.debug("addAttachmentType, "+attachmentType+":"+deploymentType);
       attachmentToTypeMap.put(attachmentType, deploymentType);
    }
    public void addVersionedAttachmentType(Class attachmentType, String deploymentType,
          String versionPattern)
    {
       Pattern p = Pattern.compile(versionPattern);
-      log.info("addVersionedAttachmentType, "+attachmentType+":"+deploymentType
+      log.debug("addVersionedAttachmentType, "+attachmentType+":"+deploymentType
             +", version: "+versionPattern);
       TypeVersion tv = new TypeVersion(deploymentType, p);
       List<TypeVersion> tvlist = attachmentToTypeVersionsMap.get(attachmentType);
@@ -177,12 +174,12 @@
 
    public void removeAttachmentType(Class attachmentType)
    {
-      log.info("removeAttachmentType, "+attachmentType);
+      log.debug("removeAttachmentType, "+attachmentType);
       attachmentToTypeMap.remove(attachmentType);
    }
    public void removeVersionedAttachmentType(Class attachmentType, String deploymentType)
    {
-      log.info("removeVersionedAttachmentType, "+attachmentType);
+      log.debug("removeVersionedAttachmentType, "+attachmentType);
       List<TypeVersion> tvlist = attachmentToTypeVersionsMap.get(attachmentType);
       if(tvlist != null)
       {




More information about the jboss-cvs-commits mailing list