You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Zac Jacobson (Jira)" <ji...@apache.org> on 2022/02/16 20:46:00 UTC

[jira] [Created] (TIKA-3680) Use logging instead of e.printStackTrace()

Zac Jacobson created TIKA-3680:
----------------------------------

             Summary: 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
            Reporter: Zac Jacobson


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)