juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r1130594 - in /juddi/trunk/juddi-client/src: main/java/org/apache/juddi/v3/client/config/UDDIClerk.java test/resources/log4j.xml
Date Thu, 02 Jun 2011 15:03:05 GMT
Author: kstam
Date: Thu Jun  2 15:03:04 2011
New Revision: 1130594

URL: http://svn.apache.org/viewvc?rev=1130594&view=rev
Log:
switching some info level to debug

Added:
    juddi/trunk/juddi-client/src/test/resources/log4j.xml
Modified:
    juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java

Modified: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java?rev=1130594&r1=1130593&r2=1130594&view=diff
==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java
(original)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/config/UDDIClerk.java
Thu Jun  2 15:03:04 2011
@@ -150,7 +150,7 @@ public class UDDIClerk implements Serial
 			log.error("Unable to register subscriptionl " +  subscription.getSubscriptionKey()
 					+ " ." + t.getMessage(),t);
 		}
-		log.info("Registering subscription " +  subscription.getSubscriptionKey() + " completed.");
+		log.debug("Registering subscription " +  subscription.getSubscriptionKey() + " completed.");
 		subscription = holder.value.get(0);
 		return subscription;
 	}
@@ -182,7 +182,7 @@ public class UDDIClerk implements Serial
 			log.error("Unable to register tModel " +  tModel.getTModelKey()
 					+ " ." + t.getMessage(),t);
 		}
-		log.info("Registering tModel " +  tModel.getTModelKey() + " completed.");
+		log.debug("Registering tModel " +  tModel.getTModelKey() + " completed.");
 		return tModelDetail;
 	}
 	
@@ -215,7 +215,7 @@ public class UDDIClerk implements Serial
 			log.error("Unable to register template binding " + bindingTemplate.getBindingKey()
 					+ " ." + t.getMessage(),t);
 		}
-		log.info("Registering template binding " + binding.getBindingKey() + " completed.");
+		log.debug("Registering template binding " + binding.getBindingKey() + " completed.");
 		return bindingTemplate;
 	}
 	/**
@@ -248,7 +248,7 @@ public class UDDIClerk implements Serial
 			log.error("Unable to register service " + service.getName().get(0).getValue()
 					+ " ." + t.getMessage(),t);
 		}
-		log.info("Registering service " + service.getName().get(0).getValue() + " completed.");
+		log.debug("Registering service " + service.getName().get(0).getValue() + " completed.");
 		return businessService;
 	}
 	public BusinessEntity register(BusinessEntity business) {
@@ -277,7 +277,7 @@ public class UDDIClerk implements Serial
 			log.error("Unable to register business " + business.getName().get(0).getValue()
 					+ " ." + t.getMessage(),t);
 		}
-		log.info("Registering businessEntity " + businessEntity.getName().get(0).getValue() + "
completed.");
+		log.debug("Registering businessEntity " + businessEntity.getName().get(0).getValue() +
" completed.");
 		return businessEntity;
 	}
 	

Added: juddi/trunk/juddi-client/src/test/resources/log4j.xml
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/test/resources/log4j.xml?rev=1130594&view=auto
==============================================================================
--- juddi/trunk/juddi-client/src/test/resources/log4j.xml (added)
+++ juddi/trunk/juddi-client/src/test/resources/log4j.xml Thu Jun  2 15:03:04 2011
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+    
+    <!-- ================================= -->
+    <!-- Preserve messages in a local file -->
+    <!-- ================================= -->
+    
+    <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+      <param name="Target" value="System.out"/>
+      <param name="Threshold" value="DEBUG"/>
+
+      <layout class="org.apache.log4j.PatternLayout">
+         <!-- The default pattern: Date Priority [Category] Message\n -->
+         <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+      </layout>
+   </appender>
+   
+    <logger name="org">
+        <level value="INFO"/>
+    </logger>
+    
+    <logger name="org.hibernate">
+        <level value="WARN"/>
+    </logger>
+
+    <logger name="com">
+        <level value="INFO"/>
+    </logger>
+    
+    <root>        
+          <appender-ref ref="CONSOLE"/>   
+    </root>
+    
+   
+</log4j:configuration>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org


Mime
View raw message