Johnathon, If you are on Windows, you may want to take a look at Handle.exe. It's a utility from SysInternals that will allow you to close a file handle. In this case you would find the PID of the Jrun service using "handle.exe -p jrun.exe" then loop over the results to find the row where the Jrun service is accessing the log file you want to delete. Once you find that use a regex or string function to grab the Hexadecimal reference to the file and close the handle.
handle.exe -c 19BC -p 4466 (PID of the JRUN service) Once closed, you can delete the file. ColdFusion will create a new one the next time it needs it. Just a thought... Might work for you. Cheers, -- Jeff Garza -----Original Message----- From: Jonathon Stierman [mailto:[EMAIL PROTECTED] Sent: Sunday, July 15, 2007 8:56 AM To: CF-Talk Subject: RE: accessing log files programatically I didn't see any place to download it... SVN says it's at revision 0. >From the description it looks like it would help me grab information out of the log file -- does it provide any way to clear out an existing log file? Jonathon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283731 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

