performance issue b/n System.io.println() and log.info??
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   dhananjayan_karnam
Posted On:   Saturday, March 29, 2003 02:48 AM

I have a doubt in this aspect, one of my client has told that System.out.println in the ejb's, servltes. He asked me to write log.info () for viewint the result. When i asked him why this he said performance issue. Why this is in both I/O operation will be taking place? How come logging is better in case of performance?

Re: performance issue b/n System.io.println() and log.info??

Posted By:   Jeanne_Boyarsky  
Posted On:   Saturday, March 29, 2003 06:18 AM

You have the option of turning logging off in production. You also have the option of filtering logging for different levels of importance. With System.out.println, you must always output all the log messages.
About | Sitemap | Contact