This is an automated email from the ASF dual-hosted git repository.

robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new fe59b1602a AXIS2-6070, remove some unneeded system out logging that 
was accidentally left into a commit while debugging the upgrade to httpclient5
fe59b1602a is described below

commit fe59b1602ad6f3cdb85d201b2e4aafef7dfe19c6
Author: Robert Lazarski <rlazar...@alphatheory.com>
AuthorDate: Wed Jul 3 04:02:08 2024 -1000

    AXIS2-6070, remove some unneeded system out logging that was accidentally 
left into a commit while debugging the upgrade to httpclient5
---
 .../http/src/org/apache/axis2/transport/http/SimpleHTTPServer.java  | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git 
a/modules/transport/http/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
 
b/modules/transport/http/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
index 77ed56422a..fd8e532baf 100644
--- 
a/modules/transport/http/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
+++ 
b/modules/transport/http/src/org/apache/axis2/transport/http/SimpleHTTPServer.java
@@ -115,7 +115,6 @@ public class SimpleHTTPServer implements TransportListener {
             if (httpFactory == null) {
                 httpFactory = new HttpFactory(configurationContext, port);
             }
-            System.out.println("[SimpleHTTPServer] init completed with port: " 
+ port);
         } catch (Exception e1) {
             throw AxisFault.makeFault(e1);
         }
@@ -153,6 +152,7 @@ public class SimpleHTTPServer implements TransportListener {
             }
         }
 
+        System.out.println("[SimpleHTTPServer] Starting");
         System.out.println("[SimpleHTTPServer] Using the Axis2 Repository "
                            + new File(repository).getAbsolutePath());
         System.out.println("[SimpleHTTPServer] Listening on port " + port);
@@ -185,6 +185,7 @@ public class SimpleHTTPServer implements TransportListener {
                 }
             }
 
+            System.out.println("[SimpleHTTPServer] Started");
         } catch (Throwable t) {
             log.fatal("Error starting SimpleHTTPServer", t);
             System.out.println("[SimpleHTTPServer] Shutting down");
@@ -210,7 +211,6 @@ public class SimpleHTTPServer implements TransportListener {
             embedded = new SimpleHttpServer(httpFactory, port);
             embedded.init();
             embedded.start();
-            System.out.println("[SimpleHTTPServer] start() completed");
         } catch (IOException e) {
             log.error(e.getMessage(), e);
             throw AxisFault.makeFault(e);
@@ -289,11 +289,9 @@ public class SimpleHTTPServer implements TransportListener 
{
      */
     public boolean isRunning() {
         if (embedded == null) {
-            System.out.println("[SimpleHTTPServer] isRunning() false on 
embedded == null");
             return false;
         }
 
-        System.out.println("[SimpleHTTPServer] isRunning() invoked, returning: 
" + embedded.isRunning());
         return embedded.isRunning();
     }
 

Reply via email to