controlling beepcore logging

Pete Siemsen <[email protected]> Mon, 11 Apr 2005 02:19:56 -0600
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <[email protected]>
I'm a BEEP newbie.  I'm trying to understand what the demo client and
server are doing by turning on logging.  I have logging working to some
extent, but it seems that some log messages are not output that should
be.  My commons-logging is using log4j, and when I change my
log4j.properties file I see more or fewer messages, but I don't see log
messages from code that should log.  Like, some code in beepcore that
does

    if (log.isDebugEnabled()) {
        log.debug("xyz");
     }

...doesn't cause output.  Does anyone have a log4j.properties file that
controls beepcore correctly?  Or do I need to do something other than
change log4j.properties to get the above code to generate output?

-- Pete



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click