tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2931) Tika CLI shouldn't log with System.out.println
Date Wed, 04 Sep 2019 12:11:00 GMT

    [ https://issues.apache.org/jira/browse/TIKA-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16922426#comment-16922426

ASF GitHub Bot commented on TIKA-2931:

tballison commented on pull request #281: TIKA-2931
URL: https://github.com/apache/tika/pull/281
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> 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

View raw message