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

Data Archive Administration

Log file naming convention

  • Last UpdatedOct 02, 2024
  • 1 minute read

During normal operation, PI Message Subsystem maintains central log files for messages from all Data Archive subsystems. Data Archive creates a new log file every day, on universal time coordinate (UTC) time, puts the log files in the PI\log directory and names each log according to the date. The file names use the format pimsg_YYYMMDD.dat, where:

  • YYY is years since 1900. For example, if the year is 2016, YYY is 116.

  • MM is the month. For example, if the month is January, MM is 01.

  • DD is the day. For example, if it is the fifth of the month, DD is 05.

For example, the log file for January 5, 2016 is named pimsg_1160105.dat.

Use the PI SMT Message Logs tool or the pigetmsg utility to view message log files and search for messages. Data Archive must be running to view messages.

By default, Data Archive creates a new log file every day, stores each log file for 35 days, and then automatically purges log files. To keep log files beyond 35 days, adjust the tuning parameter MessageLog_DayLimit (up to 10,000 days).

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