Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ PI Server Installation and Configuration (PI Server 2018)

Modify the Analysis​.UserNLog​.config file

  • Last UpdatedOct 02, 2024
  • 1 minute read

You can make changes to Analysis.UserNLog.config file if you want to overwrite the path of default NLog trace file location, trace to an additional user file, or to configure other NLog settings.

Note: Any changes made to Analysis.UserNLog.config files are preserved through product upgrades.

  1. Navigate to %PIHOME64%\Analytics or %PIHOME%\Analytics.

  2. Open Analysis.UserNLog.config file in an editor.

  3. Make changes to NLog file setting

    To ...

    Do this ...

    Overwrite the default trace file location

    Change the value of <variable name="logPath" value="${specialfolder:folder=CommonApplicationData}\OSIsoft\PIAnalysisNotifications\Logs" />

    Trace to an additional user file

    Follow the instruction in the file and remove the commented tags

    Add other NLog configurations

    Follow the instruction in the file and remove the commented tags

  4. Save the Analysis.UserNLog.config file.

    PI Analysis Service does not need to be restarted to initiate the change made in this file.

Related Links
TitleResults for “How to create a CRG?”Also Available in