[
https://issues.apache.org/jira/browse/TIKA-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16922592#comment-16922592
]
Hudson commented on TIKA-2931:
------------------------------
SUCCESS: Integrated in Jenkins build Tika-trunk #1699 (See
[https://builds.apache.org/job/Tika-trunk/1699/])
TIKA-2931 (#281) (tallison:
[https://github.com/apache/tika/commit/056304fc8eea69cbb32dd3d3898edee6859f800d])
* (edit) tika-app/src/main/java/org/apache/tika/cli/TikaCLI.java
* (edit) tika-app/src/test/java/org/apache/tika/cli/TikaCLITest.java
> Tika CLI shouldn't log with System.out.println
> ----------------------------------------------
>
> Key: TIKA-2931
> URL: https://issues.apache.org/jira/browse/TIKA-2931
> Project: Tika
> Issue Type: Improvement
> Reporter: Eric Pugh
> Assignee: Tim Allison
> Priority: Minor
>
> Running Tika-app on the command line, I expect to get back the output on
> STDOUT to be a single JSON response, with logging going to STDERR, which is
> what happens except if you have a embedded image then there is what I think
> is a stray System.out.println:
> https://github.com/apache/tika/blob/72f4f9bd999569797360b16f92b02ea92216ac22/tika-app/src/main/java/org/apache/tika/cli/TikaCLI.java#L1054
> This causes my output to be a mix of regular text and JSON! See below
> example.
> Extracting 'image0.tif' (image/tiff) to ./image0.tif
> [
> {
> "Author": "Federal Reserve Board",
> "Content-Length": "345888"
> }
> ]
--
This message was sent by Atlassian Jira
(v8.3.2#803003)