[OpenWrt-Devel] Using kdump... persistent logs, etc. (Syrone Wong)

Bernie McIntosh bmcintosh at paceprofessional.co.uk
Thu Feb 23 06:13:52 EST 2017


> Hi,
>
> Has anyone managed to use kdump with OpenWRT/LEDE?
>
> I have a box which periodically panics, and since /var is a link to /tmp/ there are no persistent logs.  Which reminds me: is it safe to configure a third partition on my CF card, format it as ext3, and mount that as /var/log in /etc/fstab?
>
> And how would I modify the build process if I wanted to add additional partitions?
>
> Thanks,
>
> -Philip
> 

An alternative might be helpful.

I use rsyslog to send log to a  host on my LAN. 

How to enable it on Openwrt:   https://wiki.openwrt.org/doc/uci/system

How to set up rsyslog server (depends on Linux flavour) : http://www.thegeekstuff.com/2012/01/rsyslog-remote-logging

Regards

Bernie



_______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list