-
Notifications
You must be signed in to change notification settings - Fork 17
Labels
Component: GridFTP Auth ModuleRelates to GridFTP authorization libraryRelates to GridFTP authorization libraryType: BugSomething isn't workingSomething isn't working
Description
Description
The log output from the authz workers is not being put in a file. This has been identified to be the result of the ofstream going out of scope after being added to the Dynamic logger as a reference.
if (log_path_authz.length() > 0) {
// Append to the existing path because we don't want the C++ and C code
// trying to write to the same file
log_path_authz.append("_authz");
std::ofstream log_file_worker(log_path_authz);
SDMS::global_logger.addStream(log_file_worker);
}
Acceptance
Make sure that the ofstream last for the duration that logs are being sent, and that it is removed from the dynamic logger when complete.
Metadata
Metadata
Assignees
Labels
Component: GridFTP Auth ModuleRelates to GridFTP authorization libraryRelates to GridFTP authorization libraryType: BugSomething isn't workingSomething isn't working