Skip to content

Toggle persistent_log in GUI #128

Description

@maltfield

This issue will track the effort to update the GUI to let the user choose to change the config option persistent_log between True and False

Problem

Background: after we added the soft-shutdown trigger to the app in v0.7.0 (#14), it doesn't really help to have a temporary log. If there was some issue encountered, then the log was lost when the system shutdown. So, in #34 we added an option to change the path of the buskill debug log to the DATA_DIR if persistent_log is True in the config file (added in #16)

However, currently the user has to manually edit the config file to enable persistent_log. We should probably let our users change this in the GUI's Settings.

Solution

Under the Settings Menu, a new option should be available, named Persist Log. This should be a toggle between True and False.

We should also probably make the initial initialization of the BusKill config file (config.ini) add the line:

persistent_log = False

...because currently it defaults to False, but it would be more "user friendly" if the option was present when the user edits the config file manually -- so they can clearly see that it's an option that's available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions