ACC Logs Collecting on macOS
When Should I Collect the Logs?
The main scenario for the Logs Collecting:
- Troubleshooting Connectivity Issues: If users report difficulties in establishing or maintaining a VPN connection, logs can provide insights into whether the problem lies with the client, network, or server.
- Performance Degradation: When there is a noticeable drop in network performance or speed while using the VPN, collecting logs can help identify bottlenecks or configuration issues causing the slowdown.
- Error Analysis: After encountering specific error messages or codes on the VPN client, logs can help decipher the exact nature and cause of these errors.
In essence, a logs collecting should be done whenever there is a need to analyze and understand the behavior of the VPN client and the network, diagnose issues, maintain security standards, and ensure optimal performance.
In most of the cases Acreto Support Engenners may ask you to collect the logs and share the results, before they start to solving your issue.
How to Collect the Logs?
To collect logs from a macOS device, you need to copy and paste specific files.
- Create
acc-logs
catalog at dektop. - Open Finder and move to
/private/var/log/
directory. - Copy the acreto.log to the acc-logs catalog.
- Use Finder and move to
<user_path>/Library/Application Support/acreto/profiles/
catalog and copy all .log and .conf to the acc-logs catalog. - Move to
<user_path>/Library/Application Support/acreto/
and copy the acreto.log file to the acc-logs catalog. - Right-click (or Control-click) on the acc-logs catalog, and from the menu, choose Compress [filename].
- Share the compressed file with Acreto Support Engineers.
Netwok Configuration
Network configuration is a crucial part of understanding connection issues on user devices. To share this configuration with Support Engineers, run the below commands in the terminal, replacing the acc-logs path with the full path to the directory:
ifconfig >> acc-logs/ifconfig.txt
netstat -an >> acc-logs/netstat.txt
route -n get default >> acc-logs/route.txt
arp -a >> $acc-logs/arp.txt
Summary
The Logs Collectin gathers all information that may be useful in the issue-solving process. It reduces the time needed to solve the issue at end-user device.