uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhavani Iyer <bhavan...@gmail.com>
Subject Re: How to specify the log level in an C++ UIMA annotator
Date Tue, 06 Nov 2012 18:29:45 GMT
Hi,

Try log4j.logger.org.apache.uima.uimacpp=WARNING.

The JNI wrapper class is org.apache.uima.uimacpp.UimacppAnalysisComponent.

Bhavani

On Tue, Nov 6, 2012 at 12:30 PM, Sylvain Surcin <surcin@kwaga.com> wrote:

> Hello,
>
> I have a functional UIMA C++ annotator working as part of an aggregate with
> Java annotators.
> The log levels of the Java annotators are controlled by a
> conf/log4j.properties file.
> But I don't see how to change the log level for the C++ annotator.
> Currently it spits out too much information.
>
> In my configuration file I have:
>
> log4j.rootLogger=INFO, stdout
> log4j.logger.com.kwaga.pulse=INFO // ok for all Java annotators below this
> package
> log4j.logger.MyAnnotatorCpp=WARNING // does not work
>
> Can somebody give me a hand?
>
> Thanks,
> Sylvain
>
> --
> Sylvain SURCIN, Ph.D.
> *KWAGA*
> Senior Software Architect
> 15, rue Jean-Baptiste Berlier
> 75013 Paris
> France
> Tél.: +33 (0)1.55.43.79.20
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message