I agree, and also suggest that usually, you don't want debugging turned on 
in a highly concurrent environment.  Or other high volume environments, or 
for production in general.  At least, not that kind of shotgun debugging. 
But it can be helpful when you encounter a 1-minute question and answer 
during development or testing.

--
Glenn Holliday
Computer Sciences Corporation
[EMAIL PROTECTED] 540-644-6636


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please 
delete without copying and kindly advise us by e-mail of the mistake in 
delivery. NOTE: Regardless of content, this e-mail shall not operate to 
bind CSC to any order or other contract unless pursuant to explicit 
written agreement or government initiative expressly permitting the use of 
e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




Filip Hanik - Dev Lists <[EMAIL PROTECTED]> 
06/16/2006 08:45 AM
Please respond to
"Tomcat Users List" <users@tomcat.apache.org>


To
Tomcat Users List <users@tomcat.apache.org>
cc

Subject
Re: flushing system.out






System.out.println is a synchronized call, and will become a performance 
bottleneck on highly concurrent applications,
the ideal is to use a logging framework, and setup an async logger

Filip


Glenn Holliday wrote:
> I frequently see it used for debugging.  It's an easy place to log to. 
> That's also when you most want unbuffered output.  Is that practice 
> discommended for other reasons?
>
> Tim Funk <[EMAIL PROTECTED]> 
> 06/16/2006 07:14 AM
> Please respond to
> "Tomcat Users List" <users@tomcat.apache.org>
>
>
> To
> Tomcat Users List <users@tomcat.apache.org>
> cc
>
> Subject
> Re: flushing system.out
>
>
>
>
>
>
> I doubt you want to print to system.out in a servlet (or jsp).
>




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to