aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorlizzie <lizzie@eden-emu.dev>2026-08-26 20:38:52 +0200
committercrueter <crueter@eden-emu.dev>2026-08-26 20:38:52 +0200
commitfaaf1bac6405658755421b2764cc4a16f8b800b8 (patch)
tree26a83924378c31ec6bf5f0d7c5506c6c89751a92 /src/common/settings.cpp
parent0295dc5fff9b2977e753e7c126cc870abb07ee3f (diff)
[common/logging] Fix logging overflow on logging settings (#4308)
Signed-off-by: lizzie <lizzie@eden-emu.dev> - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Apparently on FBSD we have plenty of stack space -- but not on Linux. Just fixes a stack overflow thing. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4308 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 6cc976fe51..e2c5b532ac 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -132,11 +132,9 @@ void LogSettings() {
}
}
}
-
- std::string settings_str{};
+ LOG_INFO(Config, "Eden Configuration:");
for (auto const& e : settings_list)
- settings_str += e;
- LOG_INFO(Config, "Eden Configuration:\n{}", settings_str);
+ LOG_INFO(Config, "{}", e);
#define LOG_PATH(NAME) \
LOG_INFO(Config, #NAME ": {}", Common::FS::PathToUTF8String(Common::FS::GetEdenPath(Common::FS::EdenPath::NAME)))
LOG_PATH(CacheDir);