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?
--
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.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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]
--
Filip Hanik
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]