You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2021/07/15 16:37:00 UTC
[jira] [Created] (TIKA-3480) Add pipesClientId to pipes forked
process for better logging
Tim Allison created TIKA-3480:
---------------------------------
Summary: Add pipesClientId to pipes forked process for better logging
Key: TIKA-3480
URL: https://issues.apache.org/jira/browse/TIKA-3480
Project: Tika
Issue Type: Task
Reporter: Tim Allison
Given that pipes forks processes, it would be convenient to configure log4j2 to output one log file per forked process given that log4j2 can't handle multiple processes writing to the same file.
A file appender in the log4j2-async.xml file might look something like this:
{noformat}
<Appenders>
<File name="file-appender" fileName="logs/client-${sys:pipesClientId}.log">
<PatternLayout pattern="%-5p [%t] %d{HH:mm:ss,SSS} %c %m%n"/>
</File>
{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)