add a purge debugging logs button/method

Description

debug entries take up memory and turning off the debugging doesn't release these entries, so that memory can only ever be released by restarting Lucee

this could be done via by addding a resetDebuggerPool() function
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/config/ConfigWebImpl.java#L418

https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/debug/DebuggerPool.java

Activity

Show:
Pothys - MitrahSoft
October 12, 2020, 4:23 PM
Edited

I've checked this ticket with the zac's PR with the fix version 5.3.8.79-SNAPSHOT. Purge dubuglogs not working because the cfadmin action name in debugging.logs,cfm is different from the admin.java function name. I corrected that and create a PR for that.

Pull Request: https://github.com/lucee/Lucee/pull/1064

Zac Spitzer
October 12, 2020, 4:33 PM

and a minor css fix for the purge button

Michael Offner
October 20, 2020, 7:58 AM

Michael Offner
October 20, 2020, 7:59 AM

please give the build a try

Pothys - MitrahSoft
October 20, 2020, 2:30 PM

I've checked this ticket with the latest version 5.3.8.84-SNAPSHOT and yes now it works fine. Now can clear the debugging logs in admin using the purge button.

Fixed

Assignee

Pothys - MitrahSoft

Reporter

Zac Spitzer

Labels

Fix versions

Priority

New
Configure