Skip to content

[Feature]: Consider using %USERPROFILE% instead of %USER_PROFILE% in logs #3385

@magge-faf

Description

@magge-faf

Is your feature request related to a problem?

No

Feature Request:

Currently, FAF logs replace the actual user path with %USER_PROFILE% in the client.log:

.replaceAll("(?i)" + Pattern.quote(userProfile), "%USER_PROFILE%")

which generates those logs in the client.log:


Added mod from %USER_PROFILE%\OneDrive\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\mods
Added map from %USER_PROFILE%\OneDrive\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\maps\

This is a custom placeholder, but it can be confusing for users because the standard Windows environment variable is %USERPROFILE%

Describe the solution you'd like

Suggestion:

Replace %USER_PROFILE% with %USERPROFILE% in log output so users can copy & paste paths directly into Explorer or CMD without manual adjustment.

Describe alternatives you've considered

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions