What's new

RT-AC68U System logs

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Gianpaolo

New Around Here
Hi,
I need to save, on a daily basis, the system log of the router. Is there any way other than through the webUI.
Also, I get the impression that the during the day only a portion of the day's activities are registered (eg. only the most recent with respect to the time the file is saved), is this correct ?
Thanks
 
This can easily be done via cronjob, something like the following code should work.

Code:
cp /tmp/syslog.log /jffs/"$(date +%y-%m-%d).syslog"
 
This can easily be done via cronjob, something like the following code should work.

Code:
cp /tmp/syslog.log /jffs/"$(date +%y-%m-%d).syslog"

Wicked ! Thanks so much !
I was thinking of doing it with the rsyslogd, but it seemed overly complicated.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top