It's all about the answers!

Ask a question

How do I get DEBUG level logging output from RTC client code?


Anthony Krowiak (1111612) | asked Sep 07 '12, 1:31 p.m.
edited Sep 12 '12, 11:16 a.m.
I have an aspect editor used to configure a follow-up action that logs debug messages.  The following is an example of the relevant code:

org.apache.commons.logging.Log log = org.apache.commons.logging.LogFactory.getLog( this.getClass() );
if( log.isDebugEnabled())
{
    log.debug("My message");
}

If I simply log using log.error("MyMessage"), I see the message in the TeamConcert/.metadata/.log file, but not when the message is a debug message. 

I tried setting eclipse.log.level=ALL in the /TeamConcert/configuration/config.ini file, but I believe that is the default setting anyway.  I also tried setting the value log4j.rootLogger=DEBUG, file in both the ccm and jts  log4j.properties files to no avail. 

How do I get debug messages logged from my client code? I'm still waiting for an answer, anybody?

Be the first one to answer this question!


Register or to post your answer.