DataGrip 2024.1 Help

Troubleshooting materials

Consider attaching some troubleshooting materials for a more precise and quick answer. The following materials might be helpful for our investigation: log files, screenshots, animations, videos, database dumps.

Copy DataGrip version and system information

  1. You can get product and system information by using the following actions:

    1. Use product help menu.

      • For macOS, click DataGrip | About DataGrip.

      • For Windows and Linux, click Help | About.

    2. Click Help | Find Action Ctrl+Shift+A, type About, and press Enter.

  2. Click the copy icon the copy icon and paste it in your Youtrack ticket, email message, support request.

    Product version macos
    Product version windows
    Product version linux

Locate log files

Locate DataGrip log

  • Click Help | Show Log in <file_browser>.

  • For the DataGrip installed using the JetBrains Toolbox App, find log file through the application.

    1. Open the Toolbox App, click the vertical ellipsis icon (Settings) for the relevant IDE instance and select Settings.

    2. On the Settings tab, open the About tab.

    3. Click the Show log files button.

The idea.log file contains recent log information about your IDE performance.

Locate system query log

  • To locate database.log, click Help | Show SQL Log. You can open database.log in DataGrip or in a text editor.

    SQL log includes all queries that you have ever run in DataGrip. It means all user queries and all internal queries (except for the queries that are run by the JDBC driver). The log information is stored in database.log. The database.log file is stored on your hard drive until you delete or overwrite the file. When the file size reaches 1 MB, a new file with a different name is created.

Change location of the SQL log

To change location of the SQL log, add the -Didea.system.path property to the custom VM options. This change affects all logs.

  1. Click Help | Edit Custom VM Options.

  2. At the end of the option list, add the following line: -Didea.system.path=/path/to/your_log_directory.

Change location of the SQL log

Configure DataGrip log settings

To avoid editing the log.xml file itself, DataGrip suggests a handy dialog to change logging level for a category. This file resides under the bin directory of DataGrip installation.

  1. Click Help | Diagnostic Tools | Debug Log Settings.

  2. In the Custom Debug Log Configuration dialog, type the log categories names, separated with new lines.

Last modified: 09 April 2024