Closed ac2cz closed 4 months ago
Actually, pi_pacsat is passed a data_dir by iors_control and the log file dir is guaranteed to be in that. Given this is also going to be the folder that pi_pacsat uses to add log files to the dir, that seems correct. So if there is a bug then it is a configuration issue to make sure that iors_control is passing the same data_dir to pi_pacsat that it is using itself.
iors_control uses make_dir_path for the log file and when it passes the data_dir to pi_pacsat. So this can be closed.
This is a bug in pi_pacsat because it uses get_folder_str() to find the log file folder. It needs to use make_dir_path(get_folder_str(FolderLog), log_path);
Moved from https://github.com/ac2cz/iors_control/issues/99