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

Hudson commented on TIKA-3680:
------------------------------

SUCCESS: Integrated in Jenkins build Tika ยป tika-main-jdk8 #464 (See 
[https://ci-builds.apache.org/job/Tika/job/tika-main-jdk8/464/])
TIKA-3680 -- remove printStackTrace() in favor of actual logging everywhere 
except the ForkParser (for now). (tallison: 
[https://github.com/apache/tika/commit/641aa9764bc2d75137e13c6a221a10ba55b22660])
* (edit) 
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/TikaServerProcess.java
* (edit) 
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/TikaServerCli.java
* (edit) 
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/resource/RecursiveMetadataResource.java
* (edit) tika-core/src/main/java/org/apache/tika/config/TikaConfig.java
* (edit) tika-core/src/main/java/org/apache/tika/pipes/async/AsyncProcessor.java
* (edit) 
tika-core/src/main/java/org/apache/tika/parser/external/ExternalParser.java
* (edit) 
tika-server/tika-server-core/src/main/java/org/apache/tika/server/core/ServerStatusWatcher.java
* (edit) tika-core/src/main/java/org/apache/tika/pipes/PipesServer.java


> Use logging instead of e.printStackTrace()
> ------------------------------------------
>
>                 Key: TIKA-3680
>                 URL: https://issues.apache.org/jira/browse/TIKA-3680
>             Project: Tika
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 1.28, 2.3.0
>            Reporter: Zac Jacobson
>            Priority: Major
>             Fix For: 2.3.1
>
>
> When running tika-server, by default response messages are sent to stdout, 
> and logging is sent to stderr. But the project also calls e.printStackTrace() 
> in a number of places which dumps stack traces directly to stderr, and they 
> are not decorated with the configured logging formatters.
> This makes managing tika's logs on a centralized log host such as ELK 
> cumbersome.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to