How can the entire I/A Series R2 Error Log or Audit Log (or any other log) be saved to a text file?
I/A Series R2 system, any release 2.15 or later
Many times, the issue being researched by use of the log extends over several screens of log entries. It is usually easier to review the data by looking at text format output instead of several screen captures.
Access the UNC or Enterprise Server via web browser using the address "http: < ipaddress > /log/index" where < ipaddress > is the IP address of the UNC or Enterprise Server. After logging in with the station user name and password, the following is displayed:
This table shows two logs, the "ErrorLogService" and the "AuditLogService". Any additional logs created in the device will also be listed in the table. By clicking the desired display format, the entire contents of the selected log will be displayed in the web browser screen. The log output can then be saved to a file using the File / Save As function of the web browser, specifying a text file. For example, selecting "text/plain" for the "ErrorLogService" will generate a file similar to the following:
2011-04-15T09:22:19.59-5,MESSAGE,/LON_BACnet_522services/ErrorLogService,ErrorLogService installed, 2011-04-15T09:22:38.89-5,MESSAGE,/LON_BACnet_522,Station started successfully. (HTTP port=80), 2011-04-15T09:42:32.09-5,WARNING,/LON_BACnet_522/services/ControlEngineService,Lost sync with system clock - resetting control engine., 2011-04-15T09:26:45.19-5,WARNING,/LON_BACnet_522/services/ControlEngineService,Lost sync with system clock - resetting control engine., 2011-04-16T21:35:33.28-5,WARNING,/LON_BACnet_522,Lost power shutdown, 2011-04-18T08:04:15.29-5,MESSAGE,/LON_BACnet_522services/ErrorLogService,ErrorLogService installed, 2011-04-18T08:04:34.48-5,MESSAGE,/LON_BACnet_522,Station started successfully. (HTTP port=80),