You can look for a system property called jrun.home. -----Original Message----- From: Anne-Li Mell [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02, 2005 9:10 AM To: JRun-Talk Subject: SV: Is it possible to see where JRun writes System.err/out from t he r unning servlet?
Okay, thank you. Can my servlet ask the ServletConfig (or something) for "jrun.home" somehow? After that I could just use "/logs/default-out.log" and so on, but since our clients not always install JRun at the same place I would like a way to find out the jrun.home part "on the fly" so to speak. :) All the best, Anne-Li -----Ursprungligt meddelande----- Fran: John Zhao [mailto:[EMAIL PROTECTED] Skickat: den 2 juni 2005 13:47 Till: JRun-Talk Amne: RE: Is it possible to see where JRun writes System.err/out from the r unning servlet? System out and err should be output to {jrun.home}/logs/{server-name}-out.log and {jrun.home}/logs/{server-name}-err.log. -----Original Message----- From: Anne-Li Mell [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02, 2005 6:52 AM To: JRun-Talk Subject: Is it possible to see where JRun writes System.err/out from the r unning servlet? We're working on a program that will send over the log-files from the client to us, when we want to see them. And it is working fairly well, but I can't seem to find how to automatically know where the log-files are written. For now we're sending the information in as an init argument, but it feels a bit silly to do so ... So I thought I'd ask if anyone here knows? All the best, Anne-Li Mell ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5683 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
