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

public DebuggerPool resetDebuggerPool() { Resource dir = getConfigDir().getRealResource("debugger"); dir.mkdirs(); debuggerPool = new DebuggerPool(dir); }

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

Activity

Show:

Pothys - MitrahSoft 20 October 2020 at 14:30

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.

Michael Offner 20 October 2020 at 07:59

please give the build a try

Zac Spitzer 12 October 2020 at 16:33

and a minor css fix for the purge button

https://github.com/lucee/Lucee/pull/1065

Pothys - MitrahSoft 12 October 2020 at 16:23
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

Fixed

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Fix versions

Priority

Created 20 August 2018 at 10:31
Updated 22 October 2020 at 15:21
Resolved 22 October 2020 at 15:21

Flag notifications