Modify a process .config file
- Last UpdatedOct 02, 2024
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
Troubleshoot PI Analysis Service with provided .config file for each process in the installation.
Note: Any changes made to a process .config file are overwritten with product upgrades.
-
Navigate to %PIHOME64%\Analytics or%PIHOME%\Analytics.
-
Open a .config file of the process in an editor. For example, open PIAnalysisProcessor.exe.config file to troubleshoot issues with real-time calculations.
-
Find the rules section.
-
Find the log associated with an area of interest based on the name; for instance, for general logging:
-
Change the value for to the logging level you want for this service.
The levels in order of decreasing severity/increasing verbosity are Fatal, Error, Warn, Info, Debug, and Trace. In most cases, Debug is sufficient to capture troubleshooting information.
-
Save the .config file.
PI Analysis Service does not need to be restarted to initiate the change to the logging level. Message logs will be written to the default %ProgramData%\OSIsoft\PIAnalysisNotifications\Logs folder.