mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Collect additional logs for crash handler (#2376)
* Collect launcher.log on crashes This has been missing for Crash Handler based tspacks for a while, which makes it harder to get information from XLCore users because of our differing log names. (Really, we should rename both to just be xivlauncher.log or something, but that would break existing tooling) * Collect wine.log on crashes
This commit is contained in:
parent
2affbe3683
commit
4a743e9060
1 changed files with 3 additions and 1 deletions
|
|
@ -463,12 +463,14 @@ void open_folder_and_select_items(HWND hwndOpener, const std::wstring& path) {
|
||||||
|
|
||||||
void export_tspack(HWND hWndParent, const std::filesystem::path& logDir, const std::string& crashLog, const std::string& troubleshootingPackData) {
|
void export_tspack(HWND hWndParent, const std::filesystem::path& logDir, const std::string& crashLog, const std::string& troubleshootingPackData) {
|
||||||
static const char* SourceLogFiles[] = {
|
static const char* SourceLogFiles[] = {
|
||||||
"output.log",
|
"output.log", // XIVLauncher for Windows
|
||||||
|
"launcher.log", // XIVLauncher.Core for [mostly] Linux
|
||||||
"patcher.log",
|
"patcher.log",
|
||||||
"dalamud.log",
|
"dalamud.log",
|
||||||
"dalamud.injector.log",
|
"dalamud.injector.log",
|
||||||
"dalamud.boot.log",
|
"dalamud.boot.log",
|
||||||
"aria.log",
|
"aria.log",
|
||||||
|
"wine.log"
|
||||||
};
|
};
|
||||||
static constexpr auto MaxSizePerLog = 1 * 1024 * 1024;
|
static constexpr auto MaxSizePerLog = 1 * 1024 * 1024;
|
||||||
static constexpr std::array<COMDLG_FILTERSPEC, 2> OutputFileTypeFilterSpec{{
|
static constexpr std::array<COMDLG_FILTERSPEC, 2> OutputFileTypeFilterSpec{{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue