You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by di...@apache.org on 2021/08/05 05:32:34 UTC

[airavata-mft] branch develop updated: Fixing a minor logging issue

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

dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-mft.git


The following commit(s) were added to refs/heads/develop by this push:
     new 2f611ad  Fixing a minor logging issue
2f611ad is described below

commit 2f611ad8b253315b711aa59d1b0a4430aa210e20
Author: Dimuthu Wannipurage <di...@gmail.com>
AuthorDate: Thu Aug 5 01:32:24 2021 -0400

    Fixing a minor logging issue
---
 .../java/org/apache/airavata/mft/agent/http/HttpServerHandler.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java b/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java
index a8a45df..f03a952 100644
--- a/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java
+++ b/agent/src/main/java/org/apache/airavata/mft/agent/http/HttpServerHandler.java
@@ -142,15 +142,15 @@ public class HttpServerHandler extends SimpleChannelInboundHandler<FullHttpReque
                 @Override
                 public void operationProgressed(ChannelProgressiveFuture future, long progress, long total) {
                     if (total < 0) { // total unknown
-                        logger.error(future.channel() + " Transfer progress: " + progress);
+                        logger.debug(future.channel() + " Transfer progress: " + progress);
                     } else {
-                        logger.error(future.channel() + " Transfer progress: " + progress + " / " + total);
+                        logger.debug(future.channel() + " Transfer progress: " + progress + " / " + total);
                     }
                 }
 
                 @Override
                 public void operationComplete(ChannelProgressiveFuture future) {
-                    System.err.println(future.channel() + " Transfer complete.");
+                    logger.info(future.channel() + " Transfer complete.");
                 }
             });