Changes between Initial Version and Version 1 of OpenWrt/logging


Ignore:
Timestamp:
10/22/2017 05:28:45 AM (7 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenWrt/logging

    v1 v1  
     1[[PageOutline]]
     2
     3= OpenWrt Logging =
     4The {{{logger}}} application provided by busybox can send messages to the system log:
     5{{{
     6logger foo
     7logger -s foo # log to system log and console
     8logger -t tag # log with a specific tag (defaults to user name)
     9}}}
     10
     11To access the '''system log''' you need a utility such as '''syslogd''' or '''logread''' (also provided by busybox):
     12 * syslogd - daemon that runs in the background that can direct system log to a file (defaults to /var/log/messages) and/or the network
     13 * logread - application that will dump the current system log ring buffer:
     14{{{
     15logread # dump the current system log ring buffer
     16logread -f # dump all new messages to the system log
     17}}}