U shld use a flag say debug.
so the code will look like
boolean debug = true;
if(debug)
System.out.println(" .... ");
In production make the flag as false.
Hope this helps
Thanks
Aditya
-----Original Message-----
From: Shailender Jain [mailto:[EMAIL PROTECTED]
Sent: Thu 8/5/2004 11:48 AM
To: [EMAIL PROTECTED]
Cc:
Subject: System.out.println
Hi,
During the development of the project we used System.out.println to do
the debugging.
Now i want to put the application in production. But i want that some
how this command should
not populate the log files. (catalina.out).
I am using jakarta-tomcat-5.0.16.
Any pointer regarding this will be very helpfull.
Shailender Jain
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]