How to send the diagnostic (log) files

Ez a cikk a következő nyelveken is elérhető
For some issues and error messages in IDEA StatiCa apps, sending the project files alone is not enough; technical support needs additional diagnostics from your computer – the log files. Here is a short description of where they can be found and what to do with them.

There are three types of diagnostics in different files that you can be asked to send to IDEA StatiCa support for investigation of a technical problem.

Please, always send the IDEA StatiCa log files.

Only if you are asked by technical support, send the Windows Event Viewer logs and Crash Dump files as well.

1) How to find IDEA StatiCa log files

Logs of actions and errors during your work in apps, e.g., an error message appears when modeling a connection in the Connection app.

To find the logs, open the Windows File Explorer and copy/paste the following path:

%LOCALAPPDATA%\Temp\IdeaStatiCa\Logs

or manually navigate to the folder C:\Users\USER NAME\AppData\Local\Temp\IdeaStatiCa\Logs. In case you don't see the AppData folder, enable showing Hidden items in the Windows settings.

inline image in article

In the Logs folder, you can find several log files generated during previous actions made in IDEA StatiCa applications. Please put all of them into one archive file (either .zip or .rar) and send them to us via the User Portal (or your local reseller who provides the support to you).

inline image in article

The log files contain the events within the diagnostics files associated with your projects. 

Setting the details level in the log files

Only if you are specificaly asked by the technical support, you may have to increase the level of logged details.

The default value of loglevel is Information. If it is changed to Debug or Trace, more details are written to the log file. To do so, please find the following file:

 C:\Users\USER NAME\AppData\Local\IDEA_RS\IdeaDiagnostics.config

Open it in the notepad and change the severity level of messages in the log file (change the parameter in " " brackets in the DefaultLogLevel loglevel= line.

<IdeaDiagnosticsSettings>
<DefaultLogLevel loglevel="Information"/>
</IdeaDiagnosticsSettings>

inline image in article

After you change the loglevel parameter and save the IdeaDiagnostics.config file, run the investigated action in IDEA StatiCa so that the problem occurs again and is written in the log files. After that, close the program and send us the new log files (described above).

2) How to collect the Windows Event Viewer logs

System logs of app crashes, e.g., when your Connection app suddenly closes or doesn't open at all. 

To export the logs, follow these steps:

  • Open the Event Viewer from the Windows Start menu.
  • In the left side panel, navigate to Windows Logs and open the drop-down menu.
  • To export the  Application logs, right-click on "Application", then select "Save All Events As..." and name the output file appropriately.
  • To export System logs, right-click on "System", then select "Save All Events As..." and name the output file appropriately.
inline image in article

In special cases, you might be asked to export the remaining logs (Security, Setup, Forwarded Event). To export these logs, copy the previous steps.

3) How to capture the Crash Dump files

Additional information about errors during start-ups or shutdowns can be available in the Crash Dump files. To collect the Crash Dump files for all applications on the computer:

  • Download and unzip WerDumpConfiguration.zip.
  • Create a folder C:\Dumps.
  • Open WerDumpCapturingOn.reg, confirm adding the Crash Dump collection into the Windows Registry Editor.
  • Reproduce the problem with the IDEA StatiCa application. Windows will automatically create a dump file in the folder C:\Dumps\.

Please note the dump file may have several hundred MB in size, so please compress it into a .zip archive before sending it.

To disable collecting the Crash Dump files: 

  • Open WerDumpCapturingOff.reg, confirm removing the Crash Dump collection from the Windows Registry Editor.
  • Remove the folder C:\Dumps.
inline image in article

If you are using the IDEA StatiCa Open Model, please reach out to support via our GitHub repository.

Kapcsolódó cikkek