Openwrt - Syslogd

 

Program:

  • busybox klogd
  • busybox syslogd

 

 

klogd

  • -n          foreground
  • -c n        default log level of console messages to n

 


Syslogd

Syslogd writes the log messages it receives into a file or into the RAM ringbuffer (option -C).

opts

  • -C[size(KiB)]         Log to shared mem buffer ( * at least 4KB, Default: 16KB )
  • -n                         Run in foreground
  • -R HOST[:PORT]

 


logger (write log)

 


logread ( Read log from RAM ringbuffer )

logread -f | nc 192.168.1.1 514 or

logread -f > /mnt/share/logfile

Creative Commons license icon Creative Commons license icon