How to Enable Debug in the Net Provider
Please also see Reporting Problems
This is an advanced procedure and should only be undertaken when requested by the PaperCut Support team.
The enable debug option causes PaperCut to produce a detailed text log of activity. The log allows our developers to inspect the internal workings of the PaperCut application and pinpoint the cause of problems.
The Net Provider is the component in PaperCut n-tiered architecture that interfaces with the Internet proxies. It is the layer closest to the proxy and hence debug here can help diagnose monitoring related problems.
1. Open the file:
[app-path]/providers/net/lib/log4j.properties
2. Find the line that says log4j.logger.biz.papercut=info and change the info to debug.
3. Save the file.
4. If running on Windows, restart the PaperCut Net Provider Service under Control Panel -> Administrative Tools -> Services. This step is not required on Mac or Linux.
5. Access a few web sites in a browser, or perform the problem action. Try to select a situation that is likely to cause the issue being investigated.
6. Record the approximate time of the problem and/or the name of any web pages (or the time you performed the test action). This will help the developers match up log entries with your test activity. Additional information such as what was observed or what was expected would also be useful.
7. Zip and email the file:
[app-path]/providers/net/logs/net-provider.log
8. Disable logging by reversing step 2.
Categories: Debugging, Troubleshooting