Turning on the Mac Debugger

Sometimes it may be necessary for ActivTrak to collect logs to better diagnose and troubleshoot an issue you may be having.

 

In order to keep the agent lightweight and prevent performance issues, this debugger is disabled by default and must be enabled before it starts running.

 

To do this, you'll need to be logged into an Admin-level user account on the Mac in question and open Terminal.

 

Open Terminal and type the following:

 

  •    cd /Library/PrivilegedHelperTools/
  •    cd scthost.app/
  •    cd Contents/
  •    cd Resources/
  •   pwd (this confirms we are in the correct location)
  •   sudo vi log.properties 

You will now see the log.properties file open inside Terminal with the ability to modify it.

This opens the log.properties file inside Terminal with sudo access. To start typing, press " i " on your keyboard.

Screen_Shot_2020-03-29_at_1.54.47_PM.png

Change the three lines from WARN to TRACE.

 

Then, hit the escape key on your keyboard and type " :X " to save your changes.

 

The agent will now start running debugger logs showing everything it is doing and any errors that might have occured.

 

A support engineer may ask you to provide them with these logs, which can be found in the /tmp/ folder.

 

To access this folder, open Finger and click on "Go > Go to Folder" and enter /tmp/.

 

Screen_Shot_2020-03-29_at_1.59.16_PM.png

 

Screen_Shot_2020-06-30_at_11.10.11_AM.png

 

This will open the containing folder. The file Support will need is called "agent_mac_log".

Screen_Shot_2020-06-30_at_11.09.57_AM.png

 

To disable the debugger, repeat the same steps but change the entries for "TRACE" back to "WARN". 

 

 

 

 

Was this article helpful?

0 out of 0 found this helpful

Comments

No comments