aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuardNetworkExtension
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-03-17 00:41:10 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-17 08:51:27 +0100
commita6f80135ef65f33da67459b56c7f659c64d6d341 (patch)
treefcfe4ec56bdcac07ad235e9db9a83a530fd0e576 /WireGuard/WireGuardNetworkExtension
parentmacOS: Tunnel detail: Activate / Deactivate is now a button (diff)
downloadwireguard-apple-a6f80135ef65f33da67459b56c7f659c64d6d341.tar.xz
wireguard-apple-a6f80135ef65f33da67459b56c7f659c64d6d341.zip
ringlogger: support mpsc for singlefile
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift b/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
index e33890df..c4fefd42 100644
--- a/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
+++ b/WireGuard/WireGuardNetworkExtension/PacketTunnelProvider.swift
@@ -122,7 +122,7 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
}
private func configureLogger() {
- Logger.configureGlobal(withFilePath: FileManager.networkExtensionLogFileURL?.path)
+ Logger.configureGlobal(tagged: "NET", withFilePath: FileManager.logFileURL?.path)
wgSetLogger { level, msgC in
guard let msgC = msgC else { return }
let logType: OSLogType