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'
;
If you can't find your ptiError Log file please submit a Service Desk ticket and reference this article.