> Is there a way to filter the types of events that get
> logged by CF Admin? For example, we use WebTrends to
> analyze our traffic. When WebTrends runs it leaves
> behind a ton of '404 Object not found.' messages in the
> application.log file for all the bad URLs people entered.
> Is there a way to filter out these messages, maybe using
> the IP address of our WebTrends server as the filter?
> We're using CF 5.0. Thanks!
The easiest way to do this is to just use the missing template handler
option in the CF Administrator. You should do this anyway; creating your own
custom "404" page is a bit more elegant than the default CF error message.
In addition, you can log these 404 errors in a separate log by putting this
in your missing template handler:
<cflog text="File #CGI.SCRIPT_NAME# not found!"
file="404"
type="Error"
thread="yes"
date="yes"
time="yes"
application="yes">
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To unsubscribe, send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body or visit the list page at www.houseoffusion.com