NETPGP-20 logging, different output
authorDirk Zimmermann <dirk@pep-project.org>
Tue, 05 Sep 2017 10:39:37 +0200
changeset 218fcc791d5b1fe
parent 217 cf53be721e7b
child 219 8b2f3687374f
NETPGP-20 logging, different output
pEpObjCAdapter/NSDictionary+Extension.m
pEpObjCAdapter/PEPSession.m
     1.1 --- a/pEpObjCAdapter/NSDictionary+Extension.m	Mon Sep 04 18:58:35 2017 +0200
     1.2 +++ b/pEpObjCAdapter/NSDictionary+Extension.m	Tue Sep 05 10:39:37 2017 +0200
     1.3 @@ -25,6 +25,7 @@
     1.4                            filePath, nowDesc, @"plist"];
     1.5  
     1.6      NSURL *writeURL = [NSURL fileURLWithPath:fileName relativeToURL:parentPath];
     1.7 +    NSLog(@"debugSaveToFilePath: writing %@", writeURL);
     1.8      [self writeToURL:writeURL atomically:YES];
     1.9  }
    1.10  
     2.1 --- a/pEpObjCAdapter/PEPSession.m	Mon Sep 04 18:58:35 2017 +0200
     2.2 +++ b/pEpObjCAdapter/PEPSession.m	Tue Sep 05 10:39:37 2017 +0200
     2.3 @@ -85,8 +85,8 @@
     2.4      NSArray *tos = src[kPepTo];
     2.5      NSString *to = tos[0][kPepAddress];
     2.6      NSString *msgID = src[kPepID];
     2.7 -    NSString *fileName = [NSString stringWithFormat:@"from(%@)_to(%@)_(%@)",
     2.8 -                          from, to, msgID];
     2.9 +    NSString *fileName = [NSString stringWithFormat:@"%@_from(%@)_%@",
    2.10 +                          to, from, msgID];
    2.11      [src debugSaveToFilePath:fileName];
    2.12  }
    2.13