EDCD / EDMarketConnector

Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools.
GNU General Public License v2.0
987 stars 155 forks source link

[2215] Move Logging Directory #2259

Open Rixxan opened 3 weeks ago

Rixxan commented 3 weeks ago

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 commented 2 weeks ago

Marking as draft until 5.11.2 is out the door.