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 <[email protected]> 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 <[email protected]> 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
