Skip to content

[FEATURE]-Add timer to debug console operations to automatically disable debug after expiry #113

@ndorin

Description

@ndorin

Is your feature request related to a problem? Please describe.
Currently, setting debug level to > 0 never expires and can cause additional processor overhead if left on unintentionally.

Describe the solution you'd like
Add a timer with a default value whenever the appdebug console command sets the level to > 0. Add an optional argument to the command to explicitly set the timeout to a value different than the default.

This might be a bit tricky to implement with the way the current logic saves the level to a file to persist through reboot. Some thought will have to be put in to consider how to deal with that when the program reboots and restores the previous level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions