uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Surcin <sur...@kwaga.com>
Subject Re: How to specify the log level in an C++ UIMA annotator
Date Wed, 07 Nov 2012 09:01:50 GMT
Nope, it does not work.
I am currently looking at at the code of class ResourceManager.
It looks like the singleton is instantiated with iv_logLevel = EnMessage
(i.e. INFO level) and this level is never changed...

Is this on purpose or am I missing something?

Sylvain

On Tue, Nov 6, 2012 at 7:29 PM, Bhavani Iyer <bhavani10@gmail.com> wrote:

> 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
> >
>



-- 
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