Event Logging
- Updated2024-03-13
- 1 minute(s) read
Event Logging
NI-iDDS Instrument Node logs significant events to: /var/lib/ni-idds-inst-node/log/ni-idds-inst-node.log
Example event log:
2023-03-06 23:27:54 UTC: [SCRIPT] Starting Instrument Node. 2023-03-06 23:27:58 UTC: [INFO] Modules Detected: Mod1,Mod2,Mod3,Mod4 2023-03-06 23:27:59 UTC: [INFO] Initializing iDDS 2023-03-06 23:28:00 UTC: [INFO] Entering Getting Node Application Configuration State 2023-03-06 23:28:00 UTC: [INFO] Entering Configuring State 2023-03-06 23:28:00 UTC: [INFO] Supervisor config requested with /tmp/ni_node_config_9205_multi_table.xml 2023-03-06 23:28:02 UTC: [INFO] Entering Ready State
Event Severity Filters
All logged events are labeled with one of the following severity levels:
By default, NI-iDDS Instrument Node is configured to log events labeled [INFO] and above. To learn how to modify log_severity, refer to Startup Script Settings.
Log Rotation
Instrument Node uses logrotate to manage event logs. The service provides the following:
- Rotates event logs over 10 kB
- Maintains a history of five compressed files
Related Information
- Startup Script Settings
Modify the NI-iDDS Instrument Node startup script to configure auto-rebooting and event logging.