Re: logging formatter configuration compatible with StackDriver

2021-06-17 Thread Cristian Zamfir
Hi Dave, Thanks for the feedback! I just wrote a Docker file that uses a snapshot I downloaded separately, it works well. I can use this until the BETA2 docker image becomes available. This means it is not necessary to build from source, thanks! It is convenient to pull directly from docker hub a

Re: logging formatter configuration compatible with StackDriver

2021-06-17 Thread Dave Meikle
Hi Cristian, Yes, the Dockerfile is designed just as a convenience route to get published releases. Sounds like BETA2 is coming soon, but if it would help for you to make progress, I have a Dockerfile locally that builds from source. I could stick that in tika-docker repo so you can quickly build

Re: logging formatter configuration compatible with StackDriver

2021-06-17 Thread Cristian Zamfir
I took a look at the Dockerfile and it does require a release version to be published, signed and available for download here: https://downloads.apache.org/tika/2.0.0-BETA/ So it looks like I have a choice between waiting for a BETA2 and building my own image based on a snapshot. On Tue, Jun 15,

Re: logging formatter configuration compatible with StackDriver

2021-06-15 Thread Cristian Zamfir
That makes sense. I cannot comment about the timeline, from my point of view the sooner the better. Creating a new docker image looks pretty straightforward and would just require a new binary. I am happy to try to build it, but I won't have access to publish it. Please let me know. On Tue, Jun 1

Re: logging formatter configuration compatible with StackDriver

2021-06-15 Thread Tim Allison
I'm wondering if we should do a BETA2 in two weeks? On Tue, Jun 15, 2021 at 8:45 AM Cristian Zamfir wrote: > > Hi Dave, > > Are you available to update the 2.0 beta container images with the logging > fix? It would be awesome. > > > Thanks, > Cristi > > > On Fri, Jun 11, 2021 at 2:12 PM Nick Bur

Re: logging formatter configuration compatible with StackDriver

2021-06-15 Thread Cristian Zamfir
Hi Dave, Are you available to update the 2.0 beta container images with the logging fix? It would be awesome. Thanks, Cristi On Fri, Jun 11, 2021 at 2:12 PM Nick Burch wrote: > On Fri, 11 Jun 2021, Cristian Zamfir wrote: > > I think for most people it would be quite critical to have logs wor

Re: logging formatter configuration compatible with StackDriver

2021-06-11 Thread Nick Burch
On Fri, 11 Jun 2021, Cristian Zamfir wrote: I think for most people it would be quite critical to have logs working. Do you happen to know how I can reach out to the person maintaining the docker images https://hub.docker.com/u/dameikle to see if they are available to update the images? Sounds li

Re: logging formatter configuration compatible with StackDriver

2021-06-11 Thread Cristian Zamfir
Thanks for the update! I think for most people it would be quite critical to have logs working. Do you happen to know how I can reach out to the person maintaining the docker images https://hub.docker.com/u/dameikle to see if they are available to update the images? Sounds like it is mostly https:

Re: logging formatter configuration compatible with StackDriver

2021-06-11 Thread Tim Allison
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

Re: logging formatter configuration compatible with StackDriver

2021-06-11 Thread Cristian Zamfir
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 wrote:

Re: Logging and filename

2018-10-15 Thread Olivier Tavard
Hello, Thanks for the fix, it works well ! Best regards, Olivier > Le 12 oct. 2018 à 18:41, Tim Allison a écrit : > > Except that it didn't fix anything! I _think_ I got it right this > time: https://issues.apache.org/jira/browse/TIKA-2754 Let me know > what you find. > > Thank you, aga

Re: Logging and filename

2018-10-12 Thread Tim Allison
Except that it didn't fix anything! I _think_ I got it right this time: https://issues.apache.org/jira/browse/TIKA-2754 Let me know what you find. Thank you, again. Cheers, Tim On Fri, Oct 12, 2018 at 5:44 AM Olivier Tavard wrote: > > Hi, > > Thanks for the quick fix ! > The value of

Re: Logging and filename

2018-10-12 Thread Olivier Tavard
Hi, Thanks for the quick fix ! The value of the parameter "path" where you did the commit (parse method in Tikaresource class) is always set to "unpack/all" when I launched the indexation on the file share. Normally it should be the file path right ? I do not understand why it has this value.

Re: Logging and filename

2018-10-11 Thread Tim Allison
Doh. Sorry. I just added that in bf75e39. Please let us know what else you find! Aside from the unit tests, I haven't had a chance to try to break the -spawnChild option with our regression corpus. On Thu, Oct 11, 2018 at 9:59 AM Olivier Tavard wrote: > > Hi, > > I have a question about the log

Re: Logging

2016-03-03 Thread John Patrick
I think PMD or FindBugs might report that. It might be worth adding those into the build servers task. I'll work on a patch and will submit shortly. John On 3 March 2016 at 00:31, Ken Krugler wrote: > Hi John, > > Thanks for bringing this up - I'd run into the same issue when working in > Tik

RE: Logging

2016-03-02 Thread Ken Krugler
Hi John, Thanks for bringing this up - I'd run into the same issue when working in Tika 2.0, and had made a note to discuss on the list. SLF4J would be my preferred option as well. Wondering if we could configure the build to check for use of other logging frameworks besides SLF4J? -- Ken >

RE: Logging in Tika

2012-08-27 Thread Markus Jelsma
Alright! I found it! Thanks -Original message- > From:Jukka Zitting > Sent: Mon 27-Aug-2012 13:18 > To: user@tika.apache.org > Subject: Re: Logging in Tika > > Hi, > > On Mon, Aug 27, 2012 at 12:32 PM, Markus Jelsma > wrote: > > Are there any log

Re: Logging in Tika

2012-08-27 Thread Jukka Zitting
Hi, On Mon, Aug 27, 2012 at 12:32 PM, Markus Jelsma wrote: > Are there any logging facilities in Tika? I'd like to log some warnings > but rather not throw an exception that terminates my parse. You can use whatever logging framework you like. Tika itself intentionally doesn't use or require an