Version 1 (modified by 7 years ago) ( diff ) | ,
---|
OpenWrt Logging
The logger
application provided by busybox can send messages to the system log:
logger foo logger -s foo # log to system log and console logger -t tag # log with a specific tag (defaults to user name)
To access the system log you need a utility such as syslogd or logread (also provided by busybox):
- syslogd - daemon that runs in the background that can direct system log to a file (defaults to /var/log/messages) and/or the network
- logread - application that will dump the current system log ring buffer:
logread # dump the current system log ring buffer logread -f # dump all new messages to the system log
Note:
See TracWiki
for help on using the wiki.