redhat27
Very Senior Member
We all know that you can see the syslog from the web UI. However if you have relocated syslog somewhere else (or even if you haven't), here is an alternate way.
Symlinks from /tmp/syslog.log will still work, but if you use some non-standard logging, just change the DEFAULT_LOG to your log that you'd like to see on the browser
Run the script, and it creates a symlink from your /www/user directory to point to your syslog.log or any log defined on the DEFAULT_LOG.
Note that this change is not permanent (will not survive router boot, as /www/user resides on tmpfs)
Symlinks from /tmp/syslog.log will still work, but if you use some non-standard logging, just change the DEFAULT_LOG to your log that you'd like to see on the browser
Run the script, and it creates a symlink from your /www/user directory to point to your syslog.log or any log defined on the DEFAULT_LOG.
Note that this change is not permanent (will not survive router boot, as /www/user resides on tmpfs)