[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16237659#comment-16237659 ] Tim Allison commented on TIKA-2490: --- cc [~markus17], https://lists.apache.org/thread.html/76a0fdc5b26fd3de4a1141a9fa52dcd166a9fbcbfb83cc2a5e459314@%3Cuser.tika.apache.org%3E > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16238363#comment-16238363 ] Tim Allison commented on TIKA-2490: --- [~markus17], give the nightly build a try and let us know if this now works for you: https://builds.apache.org/job/Tika-trunk/1384/ > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240224#comment-16240224 ] Markus Jelsma commented on TIKA-2490: - Hello [~talli...@mitre.org], that works. But we still see: {code} Nov 06, 2017 1:40:56 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem WARNING: org.xerial's sqlite-jdbc is not loaded. Please provide the jar on your classpath to parse sqlite files. See tika-parsers/pom.xml for the correct version {code} Is this expected? > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240340#comment-16240340 ] Tim Allison commented on TIKA-2490: --- No. That shouldn't happen. Are you doing this: {noformat} TikaConfig config = new TikaConfig(customConfFile.toURI().toURL(), this.getClass().getClassLoader()); Parser p = new AutoDetectParser(config); {noformat} Let me try to reproduce this. > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240342#comment-16240342 ] Markus Jelsma commented on TIKA-2490: - No, old Nutch style: {code} tikaConfig = new TikaConfig(customTikaConfig, this.getClass().getClassLoader()); Parser parser = tikaConfig.getParser(MediaType.parse(mimeType)); {code} > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240347#comment-16240347 ] Tim Allison commented on TIKA-2490: --- Is {{customTikaConfig}} a URI? > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240349#comment-16240349 ] Markus Jelsma commented on TIKA-2490: - Yes! > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240362#comment-16240362 ] Tim Allison commented on TIKA-2490: --- Sidenote: [~markus17], um...as I look at the Nutch code and try to reproduce this problem, it looks like your current method wouldn't handle embedded files. This isn't likely a problem for html, but if there's a zip file or an msg file with attachments or https://github.com/apache/tika/blob/master/tika-server/src/test/resources/test_recursive_embedded.docx the users would silently get no content from the embedded documents. Should I open a PR? :) > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240369#comment-16240369 ] Markus Jelsma commented on TIKA-2490: - If you have a patch, of course, feel free to open a ticket! > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240379#comment-16240379 ] Tim Allison commented on TIKA-2490: --- Will do. Let me try to get Nutch up and running in my IDE, and I'll debug the sqlite warning while I'm at it... > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250258#comment-16250258 ] Tim Allison commented on TIKA-2490: --- [~markus17], are you still getting the warning for sqlite? I haven't gotten a chance to get Nutch up and running in my dev environment, and I can't figure out how your getting one warning but not the warnings for the image jars... Thank you! > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16251337#comment-16251337 ] Markus Jelsma commented on TIKA-2490: - I still get: {code} Nov 14, 2017 1:33:11 PM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem WARNING: org.xerial's sqlite-jdbc is not loaded. Please provide the jar on your classpath to parse sqlite files. See tika-parsers/pom.xml for the correct version. {code} with our custom parser that is based on Tika 1.17-SNAPSHOT. This is not the built-in TikaParser. > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16251338#comment-16251338 ] Markus Jelsma commented on TIKA-2490: - I attached a Nutch patch for upgrading to 1.16, modified to work with 1.17-SNAPSHOT. Steps to reproduce: # unpack Nutch src # patch -p0 < the patch # rm src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/BoilerpipeExtractorRepository.java # ant # cd runtime/local # bin/nutch indexchecker http://tika.apache.org/ > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16252071#comment-16252071 ] Tim Allison commented on TIKA-2490: --- Thank you! I can now reproduce this...at least. How are you specifying {{tika.config.file}} and where is that file? I'm getting nothing with {{grep -R initializableProblemHander .}} or {{grep -R service-loader .}} > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16252090#comment-16252090 ] Tim Allison commented on TIKA-2490: --- It does work! :) If I add {noformat} tika.config.file tika-config.xml {noformat} to {{nutch-default.xml}} and tika-config.xml consists of: {noformat} {noformat} The warning goes away...as it should! > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16253383#comment-16253383 ] Markus Jelsma commented on TIKA-2490: - Ok, so what should we do in Nutch. By default, no tika-config.xml is loaded. > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16253495#comment-16253495 ] Tim Allison commented on TIKA-2490: --- I'd add that property and that tika-config.xml to your default settings. That will also pave the way for users to update the tika-config.xml as they wish. It will already be there and "live" because of the added property. > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16253524#comment-16253524 ] Markus Jelsma commented on TIKA-2490: - Good enough! Thanks! > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350418#comment-16350418 ] Andrei Rebegea commented on TIKA-2490: -- Hello, I am using tika version 1.17 and still getting these warnings at startup. {code} Feb 02, 2018 11:09:40 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem WARNING: JBIG2ImageReader not loaded. jbig2 files will be ignored See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io for optional dependencies. TIFFImageWriter not loaded. tiff files will not be processed See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io for optional dependencies. J2KImageReader not loaded. JPEG2000 files will not be processed. See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io for optional dependencies. Feb 02, 2018 11:09:40 AM org.apache.tika.config.InitializableProblemHandler$3 handleInitializableProblem WARNING: org.xerial's sqlite-jdbc is not loaded. Please provide the jar on your classpath to parse sqlite files. See tika-parsers/pom.xml for the correct version. {code} I don't see a fix version on this task, so I don't know if it made it to 1.17, so, my questions: *Is this still suppose to happen ?* > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350420#comment-16350420 ] Tim Allison commented on TIKA-2490: --- No, this isn't supposed to happen if you use the example {{tika-config.xml}} above. How are you calling Tika? > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Fix For: 1.17 > > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350528#comment-16350528 ] Andrei Rebegea commented on TIKA-2490: -- The short answer is that I don't know the full details, sorry. I have not worked on the implementation part - only on the upgrade part. We just updated our tika from version 1.6 (yes 6 not 16) to version 1.17, so we are using tika just like we have been using it when it was on version 1.6. I am assuming that just by importing the libs, and using them(without special configuration), we should not get these warnings. We have a TikaConfig object that seems to be shared around : [here|https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/content-services-context.xml#L180] then we use it : for example [here|https://github.com/Alfresco/alfresco-repository/blob/master/src/main/resources/alfresco/content-services-context.xml#L292] and we instantiate the new AutoDetectParser : for example [here|https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/content/metadata/TikaAutoMetadataExtracter.java#L78] > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Fix For: 1.17 > > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350538#comment-16350538 ] Tim Allison commented on TIKA-2490: --- Whoa, welcome to modernity. :) >I am assuming that just by importing the libs, and using them(without special >configuration), we should not get these warnings. Unfortunately, no, those warnings are supposed to be evident unless you turn them off...see TIKA-2232. >From what I can tell from your links, you're using the default TikaConfig. If >you can specify an actual tika-config.xml file, that should help. > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Fix For: 1.17 > > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350543#comment-16350543 ] Andrei Rebegea commented on TIKA-2490: -- OK. Thanks for the answer. So "Is this still suppose to happen ?" Answer: Yes. unless you make some modification to specify a tika-config.xml with this property set: > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Fix For: 1.17 > > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350550#comment-16350550 ] Tim Allison commented on TIKA-2490: --- Y, sorry. We could change this behavior back to ignore missing dependencies...but I think [~pascal.essiembre] and [~mcaruanagalizia] had good arguments for why we should include warnings. > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Fix For: 1.17 > > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351487#comment-16351487 ] Pascal Essiembre commented on TIKA-2490: I still believe the warnings should be there by default for missing libs, or at a minimum having clear error messages to that effect when documents that would need them are encountered. Otherwise people may think there is a bug in Tika or won't know why they get an exception and/or their document was not parsed. What I would suggest though, is making it easier to turn off for those aware of those missing dependencies. Why couldn't we use regular logging for those warnings instead? I think it would align best with expectations if we could just turn it off by setting a higher log level in log4j configuration (or whatever logging implementation). Make sense? > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Fix For: 1.17 > > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (TIKA-2490) Turn off stderr warnings in Tika-app
[ https://issues.apache.org/jira/browse/TIKA-2490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352398#comment-16352398 ] Tim Allison commented on TIKA-2490: --- +1 We are currently using the jul logger in tika-core for this very functionality. We've intentionally kept log4j and slf4j out of tika-core to limit dependencies. I think fellow devs are in agreement that we'll move log4j and slf4j into tika-core in 2.0 so this will be taken care of then. > Turn off stderr warnings in Tika-app > > > Key: TIKA-2490 > URL: https://issues.apache.org/jira/browse/TIKA-2490 > Project: Tika > Issue Type: Bug > Components: app >Affects Versions: 1.16 >Reporter: Tim Allison >Assignee: Tim Allison >Priority: Trivial > Fix For: 1.17 > > Attachments: NUTCH-2439-1.17.patch > > > Let's get rid of the stderr messages in tika-app and confirm that users can > turn off warnings via tika-config.xml -- This message was sent by Atlassian JIRA (v7.6.3#76005)