Skip to content

Make the log output directory XDG compliant or configurable #402

Open
@Javyre

Description

I noticed that the path to the log output for jack is hardcoded:

if (!(xdg_log_home = pathname_cat(home_dir, DEFAULT_XDG_LOG))) goto fail;

I know there is no $XDG_LOG_HOME in the standard so I suggest making it configurable through some custom environment variable like $JACKLOG or something and then falling back on $XDG_DATA_HOME/jack or $XDG_RUNTIME_DIR

spec:
https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Metadata

Assignees

No one assigned

    Labels

    featuregood first issuePotentially simple issue to solve for new contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions