[
https://issues.apache.org/jira/browse/TIKA-3164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17457332#comment-17457332
]
Tim Allison edited comment on TIKA-3164 at 12/10/21, 7:29 PM:
--------------------------------------------------------------
I'm really grateful that POI has moved to log4j2 (today's news
notwithstanding)... The amount of new, effective logging is several orders of
magnitude larger than 4.x. I had 36MB of logs with 4.x on ~400k MSOffice
files, and my log for 5.x weighs in at 4.2GB.
I'm wondering if we should configure default logging in tika-app and
tika-server to turn off POI's logging or if we should add massive warnings in
the release notes?
Something like this that would allow XMLHelper's warning? [~pj.fanning] and
fellow Tika devs, what do you think?
{noformat}
<!-- effectively turn off the logging for POI 5.x but leave the xmlhelper
to warn-->
<Logger name="org.apache.poi.util.XMLHelper" level="INFO"
additivity="false">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="org.apache.poi" level="ERROR" additivity="false">
<AppenderRef ref="Console"/>
</Logger>
{noformat}
was (Author: [email protected]):
I'm really grateful that POI has moved to log4j2 (today's news
notwithstanding)... The amount of new, effective logging is several orders of
magnitude larger than 4.x. I had 36MB of logs with 4.x on ~400k MSOffice
files, and my log for 5.x will probably be around 5GB once the run is complete.
I'm wondering if we should configure default logging in tika-app and
tika-server to turn off POI's logging or if we should add massive warnings in
the release notes?
Something like this that would allow XMLHelper's warning? [~pj.fanning] and
fellow Tika devs, what do you think?
{noformat}
<!-- effectively turn off the logging for POI 5.x but leave the xmlhelper
to warn-->
<Logger name="org.apache.poi.util.XMLHelper" level="INFO"
additivity="false">
<AppenderRef ref="Console"/>
</Logger>
<Logger name="org.apache.poi" level="ERROR" additivity="false">
<AppenderRef ref="Console"/>
</Logger>
{noformat}
> Upgrade to POI 5.0.0 when available
> -----------------------------------
>
> Key: TIKA-3164
> URL: https://issues.apache.org/jira/browse/TIKA-3164
> Project: Tika
> Issue Type: Task
> Reporter: Tim Allison
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)