From 42115febd228b20e47a182096d9aa59252699d66 Mon Sep 17 00:00:00 2001 From: Ceylo Date: Sun, 30 Oct 2022 15:42:41 +0100 Subject: [PATCH] Extend log collection to 15mn --- FurAffinity/Helpers/Logs.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FurAffinity/Helpers/Logs.swift b/FurAffinity/Helpers/Logs.swift index 4f3f1c3..63d8599 100644 --- a/FurAffinity/Helpers/Logs.swift +++ b/FurAffinity/Helpers/Logs.swift @@ -26,7 +26,7 @@ extension OSLogEntryLog.Level: CustomStringConvertible { func generateLogFile() throws -> URL { let logStore = try OSLogStore(scope: .currentProcessIdentifier) - let position = logStore.position(date: Date().addingTimeInterval(-300)) + let position = logStore.position(date: Date().addingTimeInterval(-900)) let allEntries = try logStore.getEntries(at: position) let subsystem = Bundle.main.bundleIdentifier! let logs = allEntries