remove redundant logging
authorDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Sun, 12 Feb 2012 20:06:31 +0000 (21:06 +0100)
committerDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Sun, 12 Feb 2012 20:06:31 +0000 (21:06 +0100)
lib/CloudStore/Store.pm

index a2cc6a8..520fe48 100644 (file)
@@ -268,7 +268,7 @@ sub rsync_log {
                my $pid = $1;
                $self->cleanup_pid( $pid );
        } else {
-               warn "## rsync_log $data";
+               warn "## rsync_log $data" if $ENV{DEBUG};
        }
 }