On Sunday, 2013-11-24 at 16:30:18 +0100, Luca Dionisi wrote:
> How can I make openwrt log messages to a file?

> I have a router just flashed with openwrt (current svn)
> It's not working well. I can access it only in fail-safe mode, and I am
> able to mount_root.
> I want that at next boot the system saved the log in a file instead of the
> memory buffer. How?

I'm logging to one of the system in my local network with this:

config 'system'
        option 'log_ip' '172.17.0.19'

In luci this is called "External system log server".

This of course uses the syslog protocol, so the receiving system must
have a log daemon that receives outside packets. That is normally turned
off. How you switch it on depends on the logger, of course.

HTH,
Lupe Christoph
-- 
| It is a well-known fact in any organisation that, if you want a job    |
| done, you should give it to someone who is already very busy.          |
| Terry Pratchett, "Unseen Academicals"                                  |
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to