for debugging problems with your system it might be interesting to know what is happening in real time in your log files.

unfortunately there are also binary files in /var/log

this command will follow all file changes under /var/log and output the changes to your screen

maximum verbose logging output, show only newly added lines, show changes to all log files

it will also output nicely list of all files it follows changes

it will exclude archived.tar.gz log files

you might want to hit Ctrl+L to clear the screen from time to time…

you can download the script here:

find /var/log/ -type f \( -name "*" \) ! -path '*.gz*' -exec tail -n0 -f "$file" {} +

# it follows the file list it is following on updates
tail: cannot open ‘’ for reading: No such file or directory
==> /var/log/samba/log.server5 <==

==> /var/log/samba/log.smbd <==

==> /var/log/samba/log.wb-DEBIANLAPTOP <==

==> /var/log/samba/log.winbindd-idmap <==

==> /var/log/samba/log. <==

==> /var/log/samba/log.nmbd <==

==> /var/log/samba/log.winbindd <==

==> /var/log/samba/log. <==

==> /var/log/samba/log. <==

==> /var/log/samba/log.wb-BUILTIN <==

==> /var/log/pycentral.log <==

==> /var/log/lightdm/x-0.log.old <==

==> /var/log/lightdm/x-0.log <==