I did this indirectly. You can set error-code in the web.xml file to catch 404 error and specify a html file to hand this. In the html file I will send an email(You may try to do the logging).
For 500, I am not sure if the same way can be used. Bin Zhou >From: "Ganti.s" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: JRun-Talk <[EMAIL PROTECTED]> >Subject: Can we log 404 ,500 exceptions >Date: Sat, 6 Oct 2001 09:46:27 +0530 > >Hi all >Is there any way to log 404 file not found exceptions and 500 internal >server error. > >thanks in Advance > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
