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

Tim Allison edited comment on TIKA-2389 at 6/20/17 12:25 PM:
-------------------------------------------------------------

We can add a method to Initializable, something like 
{{checkConfiguration(defaultResponse)}}, where options would be ignore, warn, 
throw similar to what we do w ServiceLoader problems. Users could set global 
default but also override for specific parsers via TikaConfig. Default would be 
warn.


was (Author: [email protected]):
We can add a method to Configurable, something like 
{{checkConfiguration(defaultResponse)}}, where options would be ignore, warn, 
throw similar to what we do w ServiceLoader problems. Users could set global 
default but also override for specific parsers via TikaConfig. Default would be 
warn.

> Warn log level is pretty strong for missing JBIG2ImageReader
> ------------------------------------------------------------
>
>                 Key: TIKA-2389
>                 URL: https://issues.apache.org/jira/browse/TIKA-2389
>             Project: Tika
>          Issue Type: Wish
>          Components: parser
>    Affects Versions: 1.15
>            Reporter: Thomas Mortagne
>         Attachments: 
> TIKA_2389____allow_configuration_for_warnings_in_Initializables.patch
>
>
> Given the license of jbig2-imageio many projects (Apache or LGPL projects for 
> example) won't include it and will always end up with a warning because of it 
> while they probably don't really care that much about this image format.
> Ideally ImageParser should probably be made more extensible and jbig2 part 
> moved in an optional module but in the meantime is this warning that 
> necessary ?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to