Viewing the System Log

From unRAID
Jump to: navigation, search

The system log is stored in a file located in a RAM-disk, and is thus not preserved across system resets. There are ways however to capture the system log and monitor new messages being generated.

From an Internet browser

As of unRAID v4.5-beta2, you can access your syslog directly by browsing to http://tower/log/syslog (substitute 'tower' with your server name). You will want to put that into your browser's location box, change the name to your unRAID server's name, go there, then save a bookmark or favorite for the page. If desired, you can use your browser's Save Page option to save a copy of your syslog.


You need to install the UnRAID Add On UnMENU first. Then select the Syslog plugin, to see a color coded version of your syslog, that makes it easier to read, and highlights messages of note. If desired, there is a Download button to save a copy of the syslog to your machine. Saving it this way will replace (within the syslog) your registration name with "(name withheld)".

From a console window

Following are shell commands which should be entered at the command prompt of a telnet window opened on your server.

Display all:

 cat /var/log/syslog

View one screen at a time:

 cat /var/log/syslog | more

Actively monitor the syslog:

 tail -f /var/log/syslog

You may use the select/copy/paste functionality of your telnet application to copy the captured system log into a local file, which can then be attached to an email or forum posting. This is useful if your server is crashing and you need to see the last few messages output before the crash.

You may also copy the system log file to a share accessible via My Network Places:

To access via disk1 share:

 cp /var/log/syslog /mnt/disk1/syslog.txt

or to access via the flash share:

 cp /var/log/syslog /boot/syslog.txt

Note: the .txt extension is not necessary, but makes it easier to open on the Windows side.