You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2015/09/08 22:55:46 UTC

[jira] [Created] (HDFS-9037) Trash messages should be handled by Logger instead of being delivered on System.out

Ashutosh Chauhan created HDFS-9037:
--------------------------------------

             Summary: Trash messages should be handled by Logger instead of being delivered on System.out 
                 Key: HDFS-9037
                 URL: https://issues.apache.org/jira/browse/HDFS-9037
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: logging
    Affects Versions: 2.6.0
            Reporter: Ashutosh Chauhan


Specifically,
{code}
  if (success) {
      System.out.println("Moved: '" + p + "' to trash at: " +
          trash.getCurrentTrashDir() );
    }
{code}

should be:
{code}
  if (success) {
      LOG.info("Moved: '" + p + "' to trash at: " +
          trash.getCurrentTrashDir() );
    }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)