Created
January 26, 2017 08:13
-
-
Save plu/cbc4577c798353f38b3f3af74459617d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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