Sorry for my delay.  I think I fixed the logging issue after the BETA
release.  If you pull a nightly build, it will work.  The default
logging configuration for tika-server is here:
https://github.com/apache/tika/blob/main/tika-server/tika-server-standard/src/main/resources/log4j2.xml

On Fri, Jun 11, 2021 at 4:41 AM Cristian Zamfir <[email protected]> wrote:
>
> Actually I should be able to configure StackDriver compatibility myself, but 
> I am new to configuring logging for Java apps so I could certainly appreciate 
> a pointer to how to enable json-based formatting for logs in Tika 2.x.
>
> Thanks!
> Cristi
>
> On Thu, Jun 10, 2021 at 3:41 PM Cristian Zamfir <[email protected]> wrote:
>>
>> Hi,
>>
>> I noticed that the default logging configuration of tika-server does not 
>> match the severity levels in StackDriver. Basically all error messages are 
>> interpreted as Error. Looks like the solution is to configure log4j to 
>> produce a json output that is compatible with StackDriver and I was 
>> wondering if somebody already did that.
>>
>> Thanks,
>> Cristi

Reply via email to