Write to System Log
- Updated2023-02-17
- 2 minute(s) read
Write to System Log
Writes a message either for storage and subsequent viewing. The message is written to the nierrlog system log for non-web applications or the browser console or the G Web Development output window for WebVIs.
Inputs/Outputs

message
The text to write to the system log or browser console.

severity
The classification of the message this node writes to the system log or browser console.
| Error | 0 | Classifies the message as an error. |
| Warning | 1 | Classifies the message as a warning. |
| Informational | 2 | Classifies the message as informational text. |
Default value: 0 — Error

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

error out
Error information.
The node produces this output according to standard error behavior.
Accessing Log Data
View logs using Windows Event Viewer.
To create a file of logs generated in NXG, open Windows Event Viewer. Select to view all application logs. Select Filter Current Log in the Actions. Under the filter tab in the dialog, click on Event Sources and select National Instruments. Click OK. In the actions pane, select Save Filtered Log File As... to save a copy of the logs.