Our CF code base seems to have grown and mutated over the years and there are many files in there which are no longer used. However unless an extremely intensive Edit-> Find Next operation is carried out, it can be difficult to work out which files are still in use on production and which are not.
I have a preliminary solution to find this out. It involves using Windows Auditing (security menu in windows) to log which cfc/cfm files are accessed. I then use logParser to group these files and count them. This gives me a list of all the files accessed which can be filtered using SQL. I have this is use on my dev site, and it works great. However I would like to obtain auditing data from real visitors for an extended amount of time, not just me navigating through our site on my dev environment. However, the sys admin guys are not too keen on enabling auditing on a production server for performance reasons. I am therefore trying to find a way of monitoring which cfcs and cfm pages are being requested by jrun. So, some questions; Is it really bad to have auditing switched on, on say one server, for one folder (about 3000 files in there). Are there any other ways of capturing the âliveâ data? One idea I thought about, but have no idea if it exists, is some kind of packet capturing system. If the live server or our load balancer could capture all packets sent and received by a live server, and then send them over to a test server which would effectively be mirroring the live server, I could then run the auditing on the _test_ server, safe in the knowledge that the auditing would not bring down the live server. I have no idea how to achieve this however. Are there any other ways to capture what I am after? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310191 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4