Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2215] Move Logging Directory #2259

Merged
merged 3 commits into from
Jul 22, 2024

Conversation

Rixxan
Copy link
Contributor

@Rixxan Rixxan commented Jun 10, 2024

Description

This PR moves the default logging directory away from $TEMPDIR or %TEMP% and to the current app data directory (Linux: ~/.local/share/edmarketconnector/logs, Windows: %localappdata%/edmarketconnector/logs).

This change is done to better follow the XDG Base Directory specifications, and to unify where files exist to fewer locations. (From up to 3 locations down to 1 for log files, plugin data, and other app files).

Type of Change

Enhancement

How Tested

Tested with various builds and install locations with both installers and user-frozen exe's to ensure logging refers correctly without errors.

Notes

Resolves #2215

@Rixxan Rixxan added enhancement code cleanup Cleaning up code Ready for Review PRs ready for review and merge labels Jun 10, 2024
@Rixxan Rixxan added this to the 5.12 milestone Jun 10, 2024
@Rixxan Rixxan requested a review from C1701D June 10, 2024 14:28
@Rixxan Rixxan self-assigned this Jun 10, 2024
@Rixxan Rixxan marked this pull request as draft June 11, 2024 15:43
@Rixxan
Copy link
Contributor Author

Rixxan commented Jun 11, 2024

Marking as draft until 5.11.2 is out the door.

@Rixxan Rixxan removed the Ready for Review PRs ready for review and merge label Jun 17, 2024
@Rixxan Rixxan marked this pull request as ready for review June 17, 2024 22:23
@Rixxan Rixxan added the Ready for Review PRs ready for review and merge label Jun 17, 2024
@Rixxan Rixxan merged commit ac9b7b4 into EDCD:develop Jul 22, 2024
3 checks passed
@Rixxan Rixxan deleted the enhancement/2215/move-logging-dir branch July 22, 2024 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Cleaning up code enhancement Ready for Review PRs ready for review and merge
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

Follow xdg base directory specification for log files (instead of $TMPDIR)
1 participant