tracker issue : CF-3503539

select a category, or use search below
(searches all categories and all time range)

Cannot Delete Log Files

| View in Tracker

Status/Resolution/Reason: Closed/Won't Fix/NotWorthEffort

Reporter/Name(from Bugbase): Rory Brown / Rory Brown (gozargozarian3)

Created: 02/20/2013

Components: Logging

Versions: 10.0

Failure Type: Usability Issue

Found In Build/Fixed In Build: Final /

Priority/Frequency: Minor / Some users will encounter

Locale/System: English / Windows 7

Vote Count: 1

Problem Description: I am never able to delete log files from the Coldfusion Administrator.  This was a problem in versions 8 and 9, too.  The files are locked by CF and will not delete from admin.

Steps to Reproduce:  Log information using the standard cflog and writeLog().  View the log to make sure information is in the log.  Then try to delete the log.

Actual Result:  The delete option sometimes refreshes the screen with no action apparently taken, or it display the error: Cannot delete log file at <log location>

Expected Result: The log should delete completely, including all of it's archived versions.

Any Workarounds: Stop CF service, delete the files manually, restart the service.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3503539

External Customer Info:
External Company:  
External Customer Name: gozargozarian3
External Customer Email:  
External Test Config: My Hardware and Environment details: Windows Server and Windows 7, IIS 7.5, Coldfusion 10 using the Standard Install (w/ TomCat).  Found these issues using CF 9 and 9, and it was in a Windows environment as well with a standard install.



Hi, Can you please specify which log file were you trying to delete? While the server is up and running ,not all log files will be "delete-able" from the admin Please let us know so that we can verify the bug Thanks (Comment added from ex-user id:vnigam)
Comment by Adobe D.
16240 | May 27, 2013 03:43:31 AM GMT
This happens with any log file on dev and production machines. Custom log files, with just alpha-numeric characters, will not delete. It sometimes generates an error that the file cannot be deleted, sometimes it comes back without deleting the file with no explanation at all. Rarely, it will work fine and the log is correctly deleted.
Comment by External U.
16241 | May 30, 2013 11:59:47 AM GMT
@gozargozarian3 Thanks for the update Will try it out on the test config mentioned in the bug (Windows 7+IIS7.5+CF 10 Standard) and get back to you (Comment added from ex-user id:vnigam)
Comment by Adobe D.
16242 | May 30, 2013 11:09:19 PM GMT
Hit this as well in my testing and normal use. +1.
Vote by External U.
16245 | April 11, 2014 06:32:07 PM GMT
I'm having the same problems with e.g. application.log, exception.log. If this is because the files are locked by a running CF instance (which is the case when you work on a standalone server), then the user interface should not propose the 'Delete' button!
Comment by External U.
16243 | October 16, 2014 06:03:19 AM GMT
The log files are blocked only intermittently. Closing the bug as neverFix.
Comment by Immanuel N.
16244 | December 03, 2014 04:26:37 AM GMT