babeld: Log to the system log instead of logging to a file
authorBaptiste Jonglez <git@bitsofnetworks.org>
Mon, 9 Jan 2017 14:42:58 +0000 (15:42 +0100)
committerBaptiste Jonglez <git@bitsofnetworks.org>
Mon, 9 Jan 2017 14:43:01 +0000 (15:43 +0100)
commitfd424268ba0945ab6647d1fbb1674b1c85c59f82
tree559a822a156bf6894ed64cd8b51bb5605124e855
parent159dc575a6cfe965e6eeaa9e9027fc627bf6069b
babeld: Log to the system log instead of logging to a file

This avoids running out of flash or RAM space if babeld logs too much.
The system log is stored on RAM by default and has a controlled size.

It is still possible to tell babeld to log to a file, by using the
following in /etc/config/babeld:

    config general
        option log_file "/var/log/babeld.log"

Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
babeld/files/babeld.init