Device Agent includes a Mac SmartCard Reader driver that uses the OS log. Additionally, it features a service that initiates upon MacOS boot-up and performs its own logging.
1. In a command window, enter the following commands:
cd /Library/Application Support/com.entrust.identity.mobile.device-agent
sudo ./logcapture.sh
2. When prompted, enter the password for the current administrative user.
3. When prompted to start the log capture, enter y (yes).
4. To stop capturing logs, press Ctrl+C.
The logs are saved in /tmp/device-agent.btsceader.<date>-<time>.log. The log file contains log data for the CryptoTokenKit and the Entrust Device Agent Smart Credential Reader subsystems. Rename and move the log file if you want to save it. The file does not persist after the computer is restarted.
● In a command window, enter the following commands:
cd /Library/Application Support/com.entrust.identity.mobile.device-agent
sudo ./logdump.sh
The logs are saved in /tmp/device-agent.btsceader.log. Rename and move the log file if you want to save it. The file does not persist after the computer is restarted.
The log files related to the service are placed in /Users/<CURRENT_USERNAME>/Library/com.entrust.identity.mobile.device-agent-service.
● The latest log file is device-agent-service.log.
● The historical log files are named as device-agent-service + number log. For example, device-agent-service4.log.
● There are a maximum of 5 historical logs under the folder.