Skip to content

Instantly share code, notes, and snippets.

@plu
Created January 26, 2017 08:13
Show Gist options
  • Save plu/cbc4577c798353f38b3f3af74459617d to your computer and use it in GitHub Desktop.
Save plu/cbc4577c798353f38b3f3af74459617d to your computer and use it in GitHub Desktop.
diff --git a/FBControlCore/Diagnostics/FBASLParser.m b/FBControlCore/Diagnostics/FBASLParser.m
index 421ef6f..9fd93b2 100644
--- a/FBControlCore/Diagnostics/FBASLParser.m
+++ b/FBControlCore/Diagnostics/FBASLParser.m
@@ -89,7 +89,7 @@ - (void)dealloc
- (FBDiagnostic *)diagnosticForProcessInfo:(FBProcessInfo *)processInfo logBuilder:(FBDiagnosticBuilder *)logBuilder
{
return [[[[logBuilder
- updateShortName:processInfo.processName]
+ updateShortName:[processInfo.processName stringByAppendingFormat:@"_%zd", processInfo.processIdentifier]]
updateFileType:@"log"]
updatePathFromBlock:^ BOOL (NSString *outputPath) {
return WriteOutputToFilePath(outputPath.UTF8String, self.asl, processInfo.processIdentifier);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment