[Beepcore-java-users] controlling beepcore logging
Status: Beta
Brought to you by:
huston
|
From: Pete S. <si...@uc...> - 2005-04-11 08:20:30
|
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
|