Skip to content

Commit 9fc2a96

Browse files
imadityaaAditya Abhishek
andauthored
Fix LogProcessToFileAsync (#680)
* commit it * bump up --------- Co-authored-by: Aditya Abhishek <adityaa@microsoft.com>
1 parent f7406c3 commit 9fc2a96

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.11
1+
3.0.12

src/VirtualClient/VirtualClient.Core/VirtualClientLoggingExtensions.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,9 @@ await RetryPolicies.FileOperations.ExecuteAsync(async () =>
424424
component.Roles?.Any() == true ? string.Join(',', component.Roles) : null);
425425

426426
// Upload the file as-is. If the file was timestamped, then it will be uploaded with that timestamp.
427-
string subDirectory = fileSystem.GetRelativeSubdirectory(component.GetLogDirectory(), logFilePath);
428-
FileUploadDescriptor descriptor = component.CreateFileUploadDescriptor(fileContext, timestamped: false, subPath: subDirectory);
427+
// string subDirectory = fileSystem.GetRelativeSubdirectory(component.GetLogDirectory(), logFilePath);
428+
// FileUploadDescriptor descriptor = component.CreateFileUploadDescriptor(fileContext, timestamped: false, subPath: subDirectory);
429+
FileUploadDescriptor descriptor = component.CreateFileUploadDescriptor(fileContext, timestamped: false);
429430

430431
await component.RequestFileUploadAsync(descriptor);
431432
}

0 commit comments

Comments
 (0)