Where to find logs to the OneConnect client for MacOS

Last modified on 27 Oct, 2022. Revision 3
I'm having problems with the client (or maybe the server) and would like to examine the client logs, where can i find them?
Up to date for
cOS Core 14.00.06
OneConnect 3.4.xx
Not valid for
Any Windows or Android version of OneConnect
Status OK
Author
Peter Nilsson

Description

In order to get logs from MacOS we need to query the OneConnect subsystem from the MacOS terminal.

  • Start the MacOS Terminal and paste the following command string.
    • log show --style syslog --predicate 'subsystem == "com.clavister.OneConnect.oc"' --info --debug --last 5m > /tmp/oneconnect.log
  • Download & view the "oneconnect.log" file.

Question: What about iOS?

That is unfortunate not possible as the log clears itself after the tunnel has been disconnected. The tunnel is a separate process and the logs are unfortunately cleared when that process dies.



Related articles

Brian Smart Search (Beta)
15 Jan, 2024 dictionary troubleshoot core stream incontrol incenter oneconnect cloudservice
Configure Clavister OneConnect using deep links
13 Jun, 2022 oneconnect macos ios windows android
How to disable IP Reputation in cOS Core
21 Mar, 2023 core ipreputation log
Configure Clavister OneConnect for macOS, iOS and iPadOS towards NetWall
28 Apr, 2023 openconnect oneconnect macos ios iphone
Configuring public certificates in NetWall firewalls
18 Mar, 2024 core certificate oneconnect ipsec vpn
Configure the Android OpenConnect client towards Clavister NetWall
23 Aug, 2022 sslvpn openconnect oneconnect android core
Configure Clavister OneConnect for Windows towards Clavister NetWall
29 Oct, 2021 sslvpn openconnect oneconnect windows
Lets Encrypt - error 9814 - chain had an expired certs
13 Oct, 2021 oneconnect macos openconnect ios
Certificate update in InControl global domain on certificate that is used on firewall(s)
18 Mar, 2024 core incontrol certificate oneconnect ipsec vpn
Configure Linux OpenConnect towards Clavister NetWall
5 Mar, 2021 sslvpn openconnect oneconnect linux core
Configuring SSL-VPN / OneConnect server on secondary Firewall IP address
8 Apr, 2021 core sslvpn oneconnect interfaces arp
OneConnect VPN certificate not trusted
18 Mar, 2024 onetouch sslvpn oneconnect troubleshoot certificate
Install OneConnect without Microsoft store
25 Feb, 2022 oneconnect windows howto
The TCP Window Scale Log Event
15 Nov, 2022 tcp log core
Howto - Userbased rules
27 Feb, 2024 oneconnect userbased core
Changing the certificate used by the OneConnect client/server
28 Nov, 2022 core configuration oneconnect
Automatically stop active PCAPdump or Logsnoop in the CLI
7 Dec, 2022 pcapdump log cli core logsnoop
Why some log category ID's are missing
23 May, 2022 core log logreceiver
Clavister OneConnect server using cOS Core as CA Server
11 May, 2023 oneconnect certificate howto
The meaning of the Default_Access_Rule log entry
7 Nov, 2022 core arp log routing
Configure the OpenConnect-GUI client towards Clavister NetWall
23 Aug, 2022 sslvpn openconnect oneconnect macos windows linux core