Revision 9990166e pithos-macos/PithosContainerNode.m

b/pithos-macos/PithosContainerNode.m
256 256

  
257 257
- (void)containerRequestFinished:(ASIPithosContainerRequest *)request {
258 258
    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
259
    NSLog(@"List container finished: %@", [containerRequest url]);
260
    NSLog(@"Cached: %d", [containerRequest didUseCachedResponse]);
259
    DLog(@"List container finished: %@", [containerRequest url]);
260
    DLog(@"Cached: %d", [containerRequest didUseCachedResponse]);
261 261
    if (containerRequest.responseStatusCode == 200) {
262 262
        if ((pithosContainer.blockHash == nil) || (pithosContainer.blockSize == 0)) {
263 263
            pithosContainer.blockHash = [containerRequest blockHash];
......
273 273
        if ([someObjects count] < 10000) {
274 274
            if (!containerRequest.didUseCachedResponse || ([objects count] != [someObjects count]) || !children) {
275 275
                // Save new children
276
                NSLog(@"using newChildren");
276
                DLog(@"using newChildren");
277 277
                newChildren = [[NSMutableArray alloc] init];
278 278
                NSArray *objectNames = [objects valueForKey:@"name"];
279 279
                NSMutableIndexSet *keptNodes = [NSMutableIndexSet indexSet];
......
416 416

  
417 417
- (void)containerMetadataRequestFinished:(ASIPithosContainerRequest *)request {
418 418
    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
419
    NSLog(@"URL: %@", [request url]);
420
    NSLog(@"cached: %d", [request didUseCachedResponse]);
419
    DLog(@"URL: %@", [request url]);
420
    DLog(@"cached: %d", [request didUseCachedResponse]);
421 421
    
422 422
    if ([request isEqualTo:applyMetadataContainerRequest]) {
423 423
        @synchronized(self) {

Also available in: Unified diff