dcsimg
about debug log problem in java programing?which solution does everyone used?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   jasen_chen
Posted On:   Tuesday, January 20, 2004 12:26 AM

debug log problem in java programing old way1: System.out.println("LogonAction: User '" + username + "' logged on in session " + sessionId); ***************************************** old way2: in java soruce file: if (log.isDebugEnabled()) { log.debug("LogonAction: User '" + username + "' logged on in session " + sessionId); } ***************************************** log4j: http://logging.apache.org/log4j/ in java source file: logger.info("LogonAction: User '" + username + "' logged on in session " + sessionId); ***************************************** JTracker: http://w   More>>

debug log problem in java programing
old way1:
System.out.println("LogonAction: User '" + username +
"' logged on in session " + sessionId);
*****************************************
old way2:
in java soruce file:
if (log.isDebugEnabled()) {
log.debug("LogonAction: User '" + username +
"' logged on in session " + sessionId);
}
*****************************************
log4j: http://logging.apache.org/log4j/
in java source file:
logger.info("LogonAction: User '" + username +
"' logged on in session " + sessionId);
*****************************************
JTracker: http://www.jtracker.net
in java source file:
/* < < >>*/
in jtracker case file:
BPoint(TP=TP001){
var.dis(username,sessionID);
}
...
which solution does everyone seleted?

   <<Less
About | Sitemap | Contact