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.

Activity

Show:
Zac Spitzer
March 29, 2020, 7:48 PM

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

Assignee

Unassigned

Reporter

Zac Spitzer

Labels

Affects versions

Priority

New
Configure