/
ptiError log file


ptiError log file

Issue/Symptom/Question

Where is my ptiError log file? 

Applies To

PENTA for Windows (PfW)

System Management > Technical support >  PTI Error Log File

Resolution/Fix/Answer

When PENTA for Windows (PfW) generates an error, PfW sends the text of the error to a log file named ptiError.log. By default, the PfW application attempts to write the ptiError.log file to C:\ of the machine running PfW. If PfW is installed on a drive other than C:\, (M: for example) the PfW application will attempt to write the ptiError.log file to M:\

Some Operating Systems don't allow a file to be written to C:\

The PfW application can be configured to write the ptiError.log file to a location other than the C:\ drive by making an entry in the PENTA database.

Common File Locations

There are a few different places where the ptiError.log file can be written to depending on your configuration.

  • C:\ or the root directory of whichever drive letter PfW is installed in.

  • C:\Temp

  • The value of 'Error_log' or 'error_log' in the user_preferences table in the database

  • C:\users\{WindowsUserName}\AppData\Local\VirtualStore

Checking Error_log and error_log in the user_preferences table

The following SQL queries can be used to check which location the ptiError.log is written to

  • select pref_text from user_preferences where key_name = 'Error_log';

  • select pref_text from user_preferences where key_name = 'error_log';


Another way to find the location of the file is to

  1. Enable Menu Editing

    image-20250206-160914.png
  2. Right click on the PTI Error Log File menu item and select Properties

    image-20250206-161018.png
  3. The location will be in the Command field

    image-20250206-161124.png

     

If you still can't find your ptiError Log file please submit a Service Desk ticket and reference this article.

 

Related content