Bug 1006848 - [RHEVM] [rhevm-image-uploader] info message appear in stderr, instead of stdout.
Summary: [RHEVM] [rhevm-image-uploader] info message appear in stderr, instead of stdout.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-image-uploader
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.3.0
Assignee: Sandro Bonazzola
QA Contact: Jiri Belka
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-11 11:35 UTC by Sandro Bonazzola
Modified: 2015-09-22 13:09 UTC (History)
7 users (show)

Fixed In Version: rhevm-image-uploader-3.3.0-1.el6ev
Doc Type: Bug Fix
Doc Text:
Previously the logging system wrote all messages to the standard error. Now only errors are logged to the standard error, all the other message are logged to standard output.
Clone Of:
Environment:
Last Closed: 2013-09-16 09:22:56 UTC
oVirt Team: ---
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0078 0 normal SHIPPED_LIVE rhevm-image-uploader bug fix and enhancement update 2014-01-21 20:36:35 UTC
oVirt gerrit 19129 0 None None None Never
oVirt gerrit 19215 0 None None None Never

Description Sandro Bonazzola 2013-09-11 11:35:15 UTC
Bug #956518 also affects rhevm-image-uploader.

Description of problem:
'rhevm-image-uploader -e unknown upload sample.ovf'
sends info message to stderr instead of stdout:

rc: 1

out: <empty>

err: 
ERROR: An export storage domain with a name of unknown was not found.
INFO: Use the -h option to see usage.

Comment 1 Sandro Bonazzola 2013-09-11 12:00:14 UTC
patch pushed upstream master:

Previously the logging system wrote all the messages
to the standard error.

Now only errors are logged to the standard error, all the
other message are logged to standard output

Comment 2 Sandro Bonazzola 2013-09-13 11:24:05 UTC
merged upstream master, pushed upstream 3.3

Comment 3 Sandro Bonazzola 2013-09-13 11:25:29 UTC
merged upstream 3.3


Note You need to log in before you can comment on or make changes to this bug.