D16267: [Extractor] Improve commandline debugging, forward stderr
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Wed Oct 17 02:56:08 BST 2018
bruns created this revision.
bruns added reviewers: Baloo, Frameworks, poboiko, ngraham.
Herald added projects: Frameworks, Baloo.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.
REVISION SUMMARY
In case baloo_file is started from an interactive shell/tty, the debug
output no longer goes to the syslog/journal, but to stderr. Make sure
stderr does not end up in the stdin of the parent process but is forwarded.
TEST PLAN
start baloo_file from the shell, with debugging enabled:
`QT_LOGGING_RULES='org.kde.baloo=true' PATH=./bin ./bin/baloo_file`
-> debug output from the extractor appears on stderr
REPOSITORY
R293 Baloo
BRANCH
mimetype_handling
REVISION DETAIL
https://phabricator.kde.org/D16267
AFFECTED FILES
src/file/extractorprocess.cpp
To: bruns, #baloo, #frameworks, poboiko, ngraham
Cc: kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181017/b5ec86de/attachment.html>
More information about the Kde-frameworks-devel
mailing list