-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The '--quiet' option does not silence errors #64
Comments
The message is coming from the exiv2(.exe) application and not the library.
Perhaps the application should also respect the log level of the library. If the library has been silenced, perhaps applications should also keep silent. How much pain is this causing? Can you just use exiv2 --quiet cabin.jpg 2>/dev/null If you want me to investigate further, can you attach cabin.jpg so that I reproduce your use case. |
I just assumed the expected behavior would be a clear stderr under the |
Yes. The message is being written by the Exiv2 cli application. The library has been silenced. |
I'll reopen this issue if you wish to discuss this further. |
For example: when I run
exiv2 --quiet cabin.jpg
, I getFile name : cabin.jpg File size : 142852 Bytes MIME type : image/jpeg Image size : 705 x 837 cabin.jpg: No Exif data found in the file
The last line is printing on stderr, so I expected
--quiet
to silence it. I am running GalliumOS(which is based on Ubuntu 16.04) on 64-bit x86 hardware, exiv2 version 0.26.The text was updated successfully, but these errors were encountered: