From e199ed0d6c1ee89ff39c83193e945bfce5892777 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Thu, 13 Dec 2018 18:00:29 +0530 Subject: Logging: Tag the entries in the merged log So we know which entry is from the app and which is from the network extension. Signed-off-by: Roopesh Chander --- WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift') diff --git a/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift b/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift index 43e277e..f740919 100644 --- a/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/SettingsTableViewController.swift @@ -118,7 +118,7 @@ class SettingsTableViewController: UITableViewController { return } - let isWritten = Logger.writeLog(mergedWith: networkExtensionLogFilePath, to: destinationURL.path) + let isWritten = Logger.writeLog(mergedWith: networkExtensionLogFilePath, tag: "APP", otherTag: "EXT", to: destinationURL.path) guard isWritten else { ErrorPresenter.showErrorAlert(title: "Log export failed", message: "Internal error merging logs", from: self) return -- cgit v1.2.3-59-g8ed1b