How to get Mac logs

In connection with advanced troubleshooting, you may be advised to access and supply logs from Mac.

How to get logs from the macOS printing system CUPS

The logs are stored in this folder:

  • /var/log/cups/error_log

Keyboard shortcut to open Finder and go to the folder:

  1. Press Shift+Command+G.
  2. In Go to the folder, enter /Users/Shared/.Printix.net
  3. Select Go.

How to enable and disable debug of the macOS printing system CUPS

From the command line as administrator:

  1. Select the search icon in the top right corner.
  2. Type: terminal, and press Enter.
  3. In the Terminal window, type the relevant command:
    • Enable CUPS debugging with the cupsctl command by typing:

      cupsctl -debug-logging

    • Disable CUPS debugging with the cupsctl command by typing:

      cupsctl -no-debug-logging

  4. Stop the printing system CUPS with the stop command by typing:

    sudo launchctl stop org.cups.cupsd

  5. Start the printing system CUPS with the start command by typing:

    sudo launchctl start org.cups.cupsd