//
//  MCPGServer+MCLogGathering.h
//  MCPostgresPersistence
//
//  Created by Kevin Hiscott on 10-04-29.
//  Copyright 2010 Marketcircle, Inc. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#import "MCPGServer.h"


@interface MCPGServer (MCLogGathering)

- (NSString*)serverCreateLogsFile;
- (NSString *)generateSysLogOutputToPath:(NSString *)path seconds:(unsigned)seconds;
-(void)summarizePathContents:(NSArray *)paths inFileAtPath:(NSString *)summaryPath;
- (NSArray *)pathsToNewest:(int)numFiles filesWithPrefix:(NSString *)aPrefix inDirectory:(NSString *)dir withExtension:(NSString *)extension;

@end
