Skip to content

Streaming "get" prints logging info to STDOUT instead of STDERR #822

@riskhanna

Description

@riskhanna

In version >1.6, when you using the streaming get functionality (s3cmd get s3://BUCKETNAME -), there is some logging information that is printed to STDOUT instead of STDERR that prevents me from piping the data to other tools (for example, piping json data to jq).

$ s3cmd get s3://rishi-test-s3cmd/test.txt - 2> /dev/null
download: 's3://rishi-test-s3cmd/test.txt' -> '-'  [1 of 1]
download: 's3://rishi-test-s3cmd/test.txt' -> '-'  [1 of 1]
Hello, World
My name is Rishi
 30 of 30   100% in    0s   165.59 B/s  done

Can this be altered so that logging info is printed to STDERR?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions