Adjustments for runner process logging (#8112)

This commit is contained in:
Mykhailo Pylyp
2020-11-18 20:25:20 +02:00
committed by GitHub
parent e2473b70ca
commit 53bbd08fd3
5 changed files with 17 additions and 7 deletions

View File

@@ -87,8 +87,8 @@ public:
app_name = GET_RESOURCE_STRING(IDS_LAUNCHER_NAME);
app_key = LauncherConstants::ModuleKey;
std::filesystem::path logFilePath(PTSettingsHelper::get_module_save_folder_location(this->app_key));
logFilePath.append("logging.txt");
logger = std::make_shared<Logger>("launcher", logFilePath.wstring(), PTSettingsHelper::get_log_settings_file_location());
logFilePath.append(LogSettings::launcherLogPath);
logger = std::make_shared<Logger>(LogSettings::launcherLoggerName, logFilePath.wstring(), PTSettingsHelper::get_log_settings_file_location());
logger->info("Launcher object is constructing");
init_settings();