Troubleshoot > Logs

Logs

To troubleshoot, start at the log level. Logs are located on your server, as shown:

<itoc_install_directory>/logs

  • installer – All installer-related logs.
  • portal – All UI-related logs.
  • salt – All remote execution-related logs.
  • server – All application-related logs.

The Importer creates logs on any import. These logs are located here:

itoc_install_directory/importer/logs

For information about changing the log level to see more information, see System configuration.

Change the remote execution log level

  1. Navigate to the following log file:

    itoc_install_directory/salt/etc/salt/master

  1. Uncomment the #log_level_logfile: warning line.
  2. Set the level as explained in the file, as needed.
  3. Restart the ITOC service.

    See Start, stop, and check service status.

To change the remote execution logging level on agents:

  1. Navigate to the following file:

    itoc_install_directory/etc/salt/minion

  2. Uncomment the #log_level_logfile: warning line.
  3. Set the level as explained in the file, as needed.
  4. Restart the agent service.

Enable Hibernate SQL logging

To enable Hibernate SQL logging, change the following OOTB configuration in the application.properties file from false to true :

spring.jpa.show_sql=true