Diffusion Baloo 5ce6e8718bab

[Extractor] Improve commandline debugging, forward stderr

Authored by bruns on Oct 17 2018, 2:02 AM.

Description

[Extractor] Improve commandline debugging, forward stderr

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

Reviewers: Baloo, Frameworks, poboiko, ngraham

Reviewed By: Baloo, ngraham

Subscribers: kde-frameworks-devel

Tags: Frameworks, Baloo

Differential Revision: https://phabricator.kde.org/D16267

Details

Committed
brunsOct 17 2018, 2:02 AM
Reviewer
Baloo
Differential Revision
D16267: [Extractor] Improve commandline debugging, forward stderr
Parents
R293:efad0343a5c6: [Scheduler] Remove extraneous set of content indexing flag
Branches
Unknown
Tags
Unknown