Skip to content

Commit

Permalink
Merge pull request #702 from Sequel-Ace/logging-cleanup
Browse files Browse the repository at this point in the history
Remove a few extraneous log messages #infra
  • Loading branch information
Jason-Morcos committed Dec 27, 2020
2 parents 87699fc + 5497ab5 commit 42e36f3
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Source/Controllers/DataImport/SPDataImport.m
Expand Up @@ -631,7 +631,7 @@ - (void)importSQLFile:(NSString *)filename
#ifdef DEBUG
endDate = [NSDate date];
interval = [endDate timeIntervalSinceDate:startDate];
SPLog(@"JIMMY time taken: %@, for %ld queries", [NSString stringWithFormat:@"%.3f", interval], (long)queriesPerformed);
SPLog(@"Import time taken: %@, for %ld queries", [NSString stringWithFormat:@"%.3f", interval], (long)queriesPerformed);
#endif
// Update the progress bar
if (fileIsCompressed) {
Expand Down Expand Up @@ -707,7 +707,7 @@ - (void)importSQLFile:(NSString *)filename
#ifdef DEBUG
endDate = [NSDate date];
interval = [endDate timeIntervalSinceDate:startDate];
SPLog(@"JIMMY total time taken: %@, for %ld queries", [NSString stringWithFormat:@"%.3f", interval], (long)queriesPerformed);
SPLog(@"Import Process total time taken: %@, for %ld queries", [NSString stringWithFormat:@"%.3f", interval], (long)queriesPerformed);
#endif

}
Expand Down
Expand Up @@ -3295,9 +3295,6 @@ - (instancetype)initWithDocument:(SPDatabaseDocument *)document
bookmarks = [[NSMutableArray alloc] init];
resolvedBookmarks = [[NSMutableArray alloc] init];


SPLog(@"prefs: %@", prefs.dictionaryRepresentation);

id o;
if((o = [prefs objectForKey:SPSecureBookmarks])){
[bookmarks setArray:o];
Expand Down
1 change: 0 additions & 1 deletion Source/Controllers/Other/SQLiteHistoryManager.swift
Expand Up @@ -199,7 +199,6 @@ typealias SASchemaBuilder = (_ db: FMDatabase, _ schemaVersion: Int) -> Void
}
}
queue.close()
os_log("JIMMY db size2 = %@", log: log, type: .debug, dbSizeHumanReadable)
}

/// Migrates existing query history in the prefs plist to the SQLite db.
Expand Down
2 changes: 0 additions & 2 deletions Source/Controllers/SPAppController.m
Expand Up @@ -1666,8 +1666,6 @@ - (IBAction)bundleCommandDispatcher:(id)sender{
}

- (void)rebuildMenus{

SPLog(@"JIMMY rebuildMenus");
// === Rebuild Bundles main menu item ===

// Get main menu "Bundles"'s submenu
Expand Down

0 comments on commit 42e36f3

Please sign in to comment.