How to retrieve debug logs of Document Reader software

Document Reader SDK is capable to generate a list of system (debug) messages called debug logs. These messages describe all operations performed by the components of SDK. When a user encounters any errors or failures, debug logs can provide developers with valuable information and help them to identify and isolate the cause of an issue.

While working in normal mode, no debug logs are generated. To switch them on please do the following:

1. Enable Document Reader SDK logging. It might be possible to do it in your custom application used to operate Regula document reader. If it has no such a function, you can use Document Reader application settings. To do so run the application using desktop shortcut (if you have no shortcut try to locate it in by default path C:\Program Files (x86)\Regula\Document Reader SDK\READERDEMO.exe, open Options dialog and enable the checkbox Do reader logging:

You can enable RFID logging if the issue affects reading RFID chip of a document.

To retrieve and save debug logs for transferring them to the developers you should use DebugView application delivered with Document Reader SDK. Dbgview.exe can be found in SDK installation folder:

Debug log message has the following format:

[Proccess ID] (Thread ID) Component: {Memory in bytes } Message

To provide the developers with the necessary information about the issue do the following steps for SDK 4.12.1 and later:

  1. Enable debug logs as described above.
  2. DebugView will run automatically in background and will save logs to the files with daily rotation.
  3. Reproduce the issue by repeating all the actions that make it appear.
  4. Open folder C:\ProgramData\Regula\Logs\.
  5. Send corresponding file by attaching it to the email to support@regulaforensics.com.

For SDK version earlier than 4.12.1:

  1. Enable debug logs as described above.
  2. Run DebugView before any applications that work with document reader and leave it working at background.
  3. Reproduce the issue by repeating all the actions that make it appear.
  4. Switch to DebugView and execute menu command File/Save as… Specify the filename for debug logs.
  5. Send the file by attaching it to the email to support@regulaforensics.com.
Was this article helpful?
3 out of 3 found this helpful

Comments

0 comments

Please sign in to leave a comment.

Articles in this section

See more