Bug 56195 - [PATCH] XSSFSheetXMLHandler logs to System.err
Summary: [PATCH] XSSFSheetXMLHandler logs to System.err
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.11-dev
Hardware: All All
: P2 trivial (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2014-02-27 16:02 UTC by Alexander Shopov
Modified: 2014-03-16 19:47 UTC (History)
0 users



Attachments
Patch replacing System.err wit POI standard logs (1.84 KB, text/plain)
2014-02-27 16:02 UTC, Alexander Shopov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Shopov 2014-02-27 16:02:21 UTC
Created attachment 31352 [details]
Patch replacing System.err wit POI standard logs

This bug and patch continues what was started with #52628

The file: src/ooxml/java/org/apache/poi/xssf/eventusermodel/XSSFSheetXMLHandler.java
logs directly to System.err which is inconvenient for our use case - at work we actually parse docs with shared formulas.

I have prepared a patch which is rather trivial. If it needs to be polished - please say so, I will improve it.

POI build with the patch

I have run the unit tests - there are no regressions introduced.
Comment 1 Dominik Stadler 2014-03-16 19:47:37 UTC
Thanks for the patch, committed as r1578147.