Modify the notifications .config file
- Last UpdatedOct 02, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
To assist with troubleshooting, you can temporarily adjust the severity level and verbosity of logging by modifying the PINotifications.exe.config file.
Note: Any changes made to the default PINotifications.exe.config file will be overwritten when you upgrade PI Asset Framework.
-
Navigate to %PIHOME64%\Notifications.
-
Open the file PINotifications.exe.config in a text editor.
-
Find the section and within the section, find entries for both and
-
Specify the logging level for messages written to the log file and the event log file.
Change minlevel and level to the desired logging level for the notifications service. Supported levels are Fatal, Error, Warn, Info, Debug, and Trace. In most cases, selecting Debug provides sufficient troubleshooting information.
-
Save PINotifications.exe.config.
You do not need to restart the service for the changes to take effect. Message logs are written to the default %ProgramData%\OSIsoft\PINotifications\Logs folder.
-
Once you have collected enough debug information, edit the PINotifications.exe.config file, revert minlevel and level to the default(Info), and save the file.