use external storage for debug logs, rather than ram

Description

Add the ability to store debug logs in the file system or in a database

Currently debug logs are stored in ram and are only evicted when a numeric threshold is reached, this means ram is allocated and never released until subsequent requests force the purge.

I have noticed that when Lucee reaches a low memory situation, which this can currently trigger, Lucee tends to lock up and spin CPU. A potential quick fix would be to purge debug logs when a low memory situation is encountered.

relates to

Activity

Show:

Zac Spitzer 29 March 2020 at 19:48

how about using Lucee's existing session implementation as the backend for debugging logs?,

it already does in memory, short memory cache and then saving to a datastore

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

Affects versions

Priority

Created 3 February 2020 at 12:56
Updated 29 March 2020 at 19:48