Enable debug logging

If you experience unexpected behavior when using the ODBC driver, you can enable debug logging and generate debug logs to help identify the issue.

About this task

Debug logs can be useful when submitting an incident with ServiceNow Customer Support

When you enable debug logging, note the version and bitness (32 bit or 64 bit) of the installed ODBC driver, the Windows operating system, and the client application you are using with the ODBC driver.

To generate debug logs, follow these steps.

Procedure

  1. Close all active applications that may use the ODBC driver.
  2. Navigate to one of these paths, based on your operating system.
    • For Windows 7: C:\Users\<user_name>\AppData\Local\ServiceNow\odbc\logging
    • For Windows XP and earlier: C:\Program Files\ServiceNow\ODBC\%LOCALAPPDATA%\ServiceNow\odbc\logging
  3. Delete any existing log data to ensure you only log relevant information.
  4. Run a query that produces the unexpected behavior, then immediately close the application and review the log files.