Choose your language

Choose your login

Support

How can we help?

Lightbulb icon
Lightbulb icon

Here’s your answer

Sources:

Lightbulb icon

Oops!

We currently don’t have an answer for this and our teams are working on resolving the issue. If you still need help,
User reading a resource

Popular resources

Conversation bubbles

Contact us

How to collect Application Server Debug Logs

THE PAGE APPLIES TO:

Please also see Reporting Problems

If you’re experiencing issues with PaperCut NG or MF, collecting debug logs is an important step to help the support team troubleshoot the problem. The diagnostic bundle contains not just log files but an export of the server’s configuration, helping us diagnose the problem faster than just logs alone. This guide will walk you through the steps for enabling debug logging, reproducing the issue, and downloading the necessary logs for analysis. The PaperCut Support team or your Authorized PaperCut Partner might ask you to follow these steps as part of troubleshooting.

Any log files and other information you send to us will be treated with care in accordance with our Privacy Policy .

Step 1: Enable Debug Logging in the Admin Interface

  1. Log in to the PaperCut administrator web interface as an admin.
  2. Click Options, then click the Advanced tab.
  3. Click the checkbox next to Enable debug mode.
  4. Scroll to the bottom and click Apply.

Step 2: Reproduce the Issue

  1. Perform the action that triggers the issue. For example, submit a print job, attempt to scan, or connect to a directory like LDAP.
  2. Record any relevant details to help us pinpoint the issue in the logs. Including:
    • Date and time of the action.
    • Username of the person involved.
    • Document name (if applicable).
    • IP address and hostname of the printer, copier, or workstation.

Step 3: Collect the Logs

  1. Return to the Options > Advanced tab in the admin interface.
  2. Under Enable debug mode click Download Diagnostic files. A ZIP file is containing the log files and other important troubleshooting configuration details is downloaded.
  3. Now share the diagnostic bundle with your PaperCut Authorized Partner or PaperCut Support following the steps they provide.

Manual log collection

If you can’t access the PaperCut admin interface (e.g., the server won’t start or you’re locked out), follow these steps to manually enable debug mode and collect the logs.

  1. Stop the PaperCut Application Server service, see Stop and start the Application Server
  2. Open a command prompt on your Application Server with admin rights.
  3. Use the cd command to navigate to the db-tools.exe directory. (On a 64-bit Windows server running PaperCut MF, this command might look like: cd "C:\Program Files\PaperCut MF\server\bin\win\").
  4. Run the command:
    db-tools.exe set-config system.enable-debug Y
  5. Reproduce the issue, following the same steps described previously in this article.
  6. Copy the PaperCut server logs folder [app-path]/server/logs/ to a temporary location like the desktop.
  7. Zip up the file and share it with a PaperCut technician.

Categories: How-to Articles , Logs


Keywords: debug logging , debug mode , app server , debugging , ng , mf

Comments

Last updated October 7, 2024