How to enable debug logging in Print Audit Embedded - Sharp.


In some cases it may be necessary to generate additional logging information from the Print Audit Embedded - Sharp client, usually at the request of development.

Enabling extra logging on Print Audit Embedded - Sharp is a matter of adding another key to the PrintAuditEmbedded.config file.  By default this file is located at C:\Program Files (x86)\Print Audit Inc\Print Audit 6\Sharp Embedded\webservice\ on a 64 bit system.  This path will be different on 32 bit systems (C:\Program Files\Print Audit Inc\Print Audit 6\Sharp Embedded\webservice\) or if you stipulated a different installation directory than the default.

Open this file in notepad and add the following above the line containing </appSettings>:

<add key="Log_Level" value="1" />
 
So yourPrintAuditEmbedded.config file should look similar to the following:


After adding the line, save the file, then restart IIS.  Recreate the issue 2 or 3 times.  Then you'll need to collect the log file, to find the logfile, open Log Viewer.  When Log Viewer opens, find PrintAuditEmbeddedEvent.log in the tree view.  Click on this log, and the path to the actual log file will be displayed in the status bar of Log Viewer, see the following screenshot:


Open Windows Explorer, navigate to the location of the log file.  Select both the PrintAuditEmbeddedEvent.log and the PrintAuditEmbeddedError.log (Hold down the CTRL key and click on each) then right click and select Send To -> Compressed (Zipped) Folder. Add any other logs/documentation which were also requested to this zip file as well. Once all the required logs and documents are in the zip file, attach it to your email reply to Print Audit support.
How did we do with this article?