Diagnostics and troubleshooting Logs
Digi TransPort WR Routers User Guide
265
Find and filter log file entries
You can find and filter log file entries based on search criteria entered in the Log Viewer Search bar.
The find operation searches every field of a log file entry, including the date.
Web
1. On the menu, click System > Administration > Logs.
2. Click Log viewer.
3. In the Find field, enter the text to search for in messages.
4. To clear the filter, delete the text in the Find field.
Save logs to a file
By default, the event and system logs are stored in RAM. This means the event and system logs are
lost when the device is rebooted. You can configure the device to store the event and system logs in a
file to help diagnose issues if the device is being rebooted. When enabled, the event log is stored in the
file event.log and the system log is stored in the file system.log.
The maximum size of a log file is 2 MB. When the event and system log files reach this size, they are
backed up to event.log.0 and system.log.0 respectively, and the log file is cleared out.
WARNING! Saving event and system logs to files and keeping them resident for some time
is not recommended for normal operations, as this practice can lead to additional wear to
the flash memory.
Web
1. On the menu, click System > Administration > Logs.
2. Click Log Configuration.
3. n To write event log entries to a file: Under Event Log in the Log to File setting, click On.
n To write system log entries to a file: Under System Log, in the Log to File setting, click
On.
4. Click Apply.
Command line
To log events to the file event.log and system.log, use the system command, specifying the
log-to-file parameter:
system log-to-file on
To log system events to the file system.log, use the system command, specifying the
log-system-to-file parameter:
system log-system-to-file on