geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r525832 - /geronimo/server/trunk/modules/geronimo-yoko/src/main/java/org/apache/geronimo/yoko/SocketFactory.java
Date Thu, 05 Apr 2007 14:16:25 GMT
Author: rickmcguire
Date: Thu Apr  5 07:16:24 2007
New Revision: 525832

URL: http://svn.apache.org/viewvc?view=rev&rev=525832
Log:
GERONIMO-3065 Inappropriate logging levels in Yoko SocketFactory class.


Modified:
    geronimo/server/trunk/modules/geronimo-yoko/src/main/java/org/apache/geronimo/yoko/SocketFactory.java

Modified: geronimo/server/trunk/modules/geronimo-yoko/src/main/java/org/apache/geronimo/yoko/SocketFactory.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-yoko/src/main/java/org/apache/geronimo/yoko/SocketFactory.java?view=diff&rev=525832&r1=525831&r2=525832
==============================================================================
--- geronimo/server/trunk/modules/geronimo-yoko/src/main/java/org/apache/geronimo/yoko/SocketFactory.java
(original)
+++ geronimo/server/trunk/modules/geronimo-yoko/src/main/java/org/apache/geronimo/yoko/SocketFactory.java
Thu Apr  5 07:16:24 2007
@@ -178,7 +178,9 @@
                         try {
                             // decode and pull the transport information.
                             TSSCompoundSecMechListConfig config = TSSCompoundSecMechListConfig.decodeIOR(Util.getCodec(),
profileInfo.components[i]);
-                            log.info("looking at tss: " + config);
+                            if (log.isDebugEnabled()) {
+                                log.debug("looking at tss: " + config);
+                            }
                             for (int j = 0; j < config.size(); j++) {
                                 TSSTransportMechConfig transport_mech = config.mechAt(j).getTransport_mech();
                                 if (transport_mech instanceof TSSSSLTransportConfig) {
@@ -236,14 +238,14 @@
                         } else {
                             port = (int) body.port;
                         }
-                        log.info("set port: " + port);
+                        log.debug("set port: " + port);
                      } catch (org.omg.IOP.CodecPackage.FormatMismatch e) {
                         // just keep the original port.
-                        log.info("could not set port: ", e);
+                        log.debug("could not set port: ", e);
                         break;
                     } catch (org.omg.IOP.CodecPackage.TypeMismatch e) {
                         // just keep the original port.
-                        log.info("could not set port: ", e);
+                        log.debug("could not set port: ", e);
                         break;
                     }
 



Mime
View raw message