brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: point the syslog server at the server itself to keep logs on a share

Logs
~/tips/tip-unraid-local-syslog-loopback

Remote syslog server: the IP address of this server

Keeps a lasting copy of the Unraid system log on a share instead of on the boot drive.

The local syslog option has a catch. If you only enable it, nothing may end up in your share.

Settings, Syslog Server lets you keep the log on the array or cache, so the boot drive is spared. You set the Local syslog server to Enabled and choose a Local syslog folder. The docs suggest a cache-only or preferred share, which is best on an SSD.

Settings > Syslog Server
Local syslog server: Enabled
Local syslog folder: a cache share
Remote syslog server: the IP address of this server

The last line matters. The docs call it the loopback method: put your own server’s IP address in the Remote syslog server field. Without that, the syslog is not saved to the chosen share, and boot events are missed too.

You can also set rotation, with a file size and a number of files, so the log does not grow forever. I like this better than mirroring to the boot drive, because the storage can take the writes.

One caveat from the docs: logs saved this way are not part of the standard diagnostics zip. Attach them separately when you ask for help. They are also not anonymized.

Further reading: Unraid docs: Capture diagnostics and logs, On this site: never copy between a user share and a disk share with the same folder name, On this site: mirror the syslog to the boot drive, but only for a few days

Going deeper: Guide: your Unraid cache is full and Docker stopped, how to find out why and fix it

More Logs tips rotate 4 sort -m app.log worker.log | less sed -E 's/[0-9]+/N/g' app.log | sort | uniq -c | sort -rn | head -n 15 awk '$1 >= "2026-11-30T02:00" && $1 < "2026-11-30T03:00"' app.log rotate 14 All Logs tips (9) All topics

Link