If you are used to Linux systems, you know that logfiles are usually located in /var/log/ – but there is only three files in that directory on OpenWrt:

root@OpenWrt:~# ls /var/log/
lastlog   messages  wtmp
root@OpenWrt:~# cat /var/log/*
Sep 21 15:56:26 OpenWrt syslog.info syslogd started: BusyBox v1.11.2
root@OpenWrt:~#

So, to read the logfile from syslogd you should use the logread command, which outputs the messages in syslogd’s circular buffer.

Related posts:

Tags: ,

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This site uses KeywordLuv. Enter YourName@YourKeywords in the Name field to take advantage.