Board index » jbuilder » how to stop stdout
phimalaya
JBuilder Developer |
phimalaya
JBuilder Developer |
how to stop stdout2006-03-18 12:37:59 AM jbuilder19 hello, my jsp site loggs entries to stdout log file. this is done thru programming. how can i completely turn off stdout file? i do not want to change program. is it possible to change configuration and ask web server (e.g. tomcat) to stop generating it? thanks in advance. |
Paul Furbacher [TeamB]
Java Developer |
2006-03-18 01:19:21 AM
Re:how to stop stdout
phimalaya wrote:
Quotemy jsp site loggs entries to stdout log file. this is done thru programming. This assumes you are using Tomcat 5.5. If not, backtrack to tomcat.apache.org and find the appropriate documentation. -- Paul Furbacher (TeamB) Save time, search the archives: info.borland.com/newsgroups/ngsearch.html Is it in Joi Ellis's Faq-O-Matic? www.visi.com/~gyles19/fom-serve/cache/1.html Finally, please send responses to the newsgroup only. That means, do not send email directly to me. Thank you. |
phimalaya
Java Developer |
2006-03-18 01:47:48 AM
Re:how to stop stdout
hello,
i had already done it and created a logging.properties file and copied to "classes" subfolder. but it does not work... here is my file -- handlers = org.apache.juli.FileHandler, java.util.logging.ConsoleHandler ############################################################ # Handler specific properties. # Describes specific configuration info for Handlers. ############################################################ org.apache.juli.FileHandler.level = OFF org.apache.juli.FileHandler.directory = ${catalina.base}/logs org.apache.juli.FileHandler.prefix = test. java.util.logging.ConsoleHandler.level = OFF java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter doing anything wrong? any help? "Paul Furbacher [TeamB]" < XXXX@XXXXX.COM >wrote in message Quotephimalaya wrote: {smallsort} |
Lori M Olson [TeamB]
Java Developer |
2006-03-18 09:50:02 AM
Re:how to stop stdout
phimalaya wrote:
Quotehello, one-liner code change, setting System.out to something other than the console should work. -- Regards, Lori Olson [TeamB] ------------ Save yourself, and everyone else, some time and search the newsgroups and the FAQ-O-Matic before posting your next question. Google Advanced Newsgroup Search www.google.ca/advanced_group_search Other Newsgroup Searches: www.borland.com/newsgroups/ngsearch.html Joi Ellis's FAQ-O-Matic: www.visi.com/~gyles19/fom-serve/cache/1.html |